]> git.ipfire.org Git - thirdparty/pdns.git/commit
iputils.hh: NetmaskTree: Reduce the number of tree nodes.
authorStephan Bosch <stephan.bosch@open-xchange.com>
Mon, 30 Sep 2019 08:30:25 +0000 (10:30 +0200)
committerStephan Bosch <stephan.bosch@open-xchange.com>
Tue, 11 Feb 2020 01:35:40 +0000 (02:35 +0100)
commit4bb190278175665a4edc73d63b45e7002b9e3e97
treefd042c0bd8e1a4bbfb1aa17504afc7f4bb639d88
parent956c6dc4939f7a1457cf2bbbf99a6f97ac4f460e
iputils.hh: NetmaskTree: Reduce the number of tree nodes.

Before, it created a tree node for every network bit in the netmask. Now, it
only creates a tree node when necessary (only for values and branches).
pdns/iputils.hh