]> git.ipfire.org Git - thirdparty/bind9.git/commit
improve readability of radix code
authorEvan Hunt <each@isc.org>
Fri, 25 May 2018 20:25:54 +0000 (13:25 -0700)
committerEvan Hunt <each@isc.org>
Fri, 8 Jun 2018 19:11:19 +0000 (12:11 -0700)
commitb75a2b973090b89141bf1215ce9f47e4a2e93f5b
tree195850be3d5d3659b7d4667893c96f90e328286e
parent8da265c2109c56416c940c4c61ca3f7c769b9c3b
improve readability of radix code

- use RADIX_V4, RADIX_V6, RADIX_V4_ECS, and RADIX_V6_ECS as array
  indices instead of 0 through 3.
- remove some unused macros

(cherry picked from commit f7f20b1202ef0299c15cd0ff93e45483bb04152d)
lib/dns/acl.c
lib/dns/iptable.c
lib/isc/include/isc/radix.h
lib/isc/radix.c