]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Fix destination address reporting 4578/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 2 Nov 2016 10:44:14 +0000 (11:44 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 2 Nov 2016 10:48:26 +0000 (11:48 +0100)
commit7cea4e39a78ef981ee461b49bbc193fa9903f56d
treecbb14c761dd5a144dddff6e15ddfff2db244bad0
parent6bb266343a9612f0eae97bd81973fc3035ee1ce7
dnsdist: Fix destination address reporting

Over TCP the destination address was "0.0.0.0" when bound to an "any"
address. Over UDP, the destination address what always unset when
processing the response, except when bound to an "any" address.
pdns/dnsdist-tcp.cc
pdns/dnsdist.cc
pdns/dnsdist.hh