]> git.ipfire.org Git - thirdparty/pdns.git/commit
iputils.hh: NetmaskTree: Always normalize key netmasks.
authorStephan Bosch <stephan.bosch@open-xchange.com>
Wed, 9 Oct 2019 20:49:21 +0000 (22:49 +0200)
committerStephan Bosch <stephan.bosch@open-xchange.com>
Tue, 11 Feb 2020 01:49:34 +0000 (02:49 +0100)
commit804622535520fb24a385ce7a2c87ee4f3e4885f5
tree22ad21d093b6cc4aa6daec5c684e3ed426ab579e
parent4bb190278175665a4edc73d63b45e7002b9e3e97
iputils.hh: NetmaskTree: Always normalize key netmasks.

This makes address bits below the network mask all zero, which is consistent
with the tree's behavior.

This change addresses one sensitivity to this behavioral change in the recursor
cache.
pdns/iputils.hh
pdns/recursor_cache.cc
pdns/recursor_cache.hh