]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix "check-names master" and "check-names slave"
authorMark Andrews <marka@isc.org>
Sat, 18 Sep 2021 23:11:15 +0000 (09:11 +1000)
committerMark Andrews <marka@isc.org>
Wed, 29 Sep 2021 09:51:53 +0000 (19:51 +1000)
commit7aa30aae387e4daaa042d49cd0277c7c391a594a
treec59a41120cf43336416e6dbffcdba87e91a82f00
parent617d786713f5d991c86f0dc9439116e7f913d18c
Fix "check-names master" and "check-names slave"

check for type "master" / "slave" at the same time as checking
for "primary" / "secondary" as we step through the maps.

Checking "primary" then "master" or "master" then "primary" does
not work as the synomym is not checked for to stop the search.
Similarly with "secondary" and "slave".

(cherry picked from commit a3c6516a75786c5716beb56410186ecc52057983)
bin/named/config.c
bin/named/include/named/config.h
bin/named/server.c
bin/named/zoneconf.c