]> granicus.if.org Git - pdns/commit
dnsdist: Fix TeeAction() with EDNS Client Subnet
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 26 Oct 2017 12:12:36 +0000 (14:12 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 26 Oct 2017 12:12:36 +0000 (14:12 +0200)
commitdc115deaa329b29a3173c0f4879ee011a32ef6ad
treeae88e3031501359828e8db2b9763cd544954bf5c
parent0e9a0d5cae847ef1d4583a888f8442e4787effe7
dnsdist: Fix TeeAction() with EDNS Client Subnet

Since 0beaa5c825059986d3ce108a4bd2578a08d6d1d0 we checked the space
available against the current length, instead of the real capacity,
resulting in the query being dropped because it looked like there
was not enough room to add the ECS value.
pdns/dnsdistdist/dnsrulactions.cc