resolved: when restarting a transaction pick a new ID
authorLennart Poettering <lennart@poettering.net>
Mon, 18 Jan 2016 22:27:16 +0000 (23:27 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 18 Jan 2016 22:31:29 +0000 (23:31 +0100)
commit4dd15077f36110293949b46c9cf1da91c3a02404
tree4eb62cc3db9acbb239e65f16c5ebb7d897ca7139
parentb214dc0f681d2f7a4f45bf5f2bdf9f5da60ae20a
resolved: when restarting a transaction pick a new ID

When we restart a transaction because of an incompatible server, pick a new transaction ID.

This should increase compatibility with DNS servers that don't like if they get different requests with the same
transaction ID.
src/resolve/resolved-dns-transaction.c