]> git.ipfire.org Git - thirdparty/systemd.git/commit
resolved: transaction - introduce dns_transaction_emit()
authorTom Gundersen <teg@jklm.no>
Wed, 15 Jul 2015 17:22:29 +0000 (19:22 +0200)
committerTom Gundersen <teg@jklm.no>
Mon, 27 Jul 2015 18:30:54 +0000 (20:30 +0200)
commit471d40d92fc8e7b452dff99a156f9e0b520ded20
tree0e4facd38af3b227185808ba790a951eb43a4a93
parentc19ffd9fbfcca170746918982cb687874dc37f5c
resolved: transaction - introduce dns_transaction_emit()

This function emits the UDP packet via the scope, but first it will
determine the current server (and connect to it) and store the
server in the transaction.

This should not change the behavior, but simplifies the code.
src/resolve/resolved-dns-scope.c
src/resolve/resolved-dns-scope.h
src/resolve/resolved-dns-transaction.c
src/resolve/resolved-dns-transaction.h