]> git.ipfire.org Git - thirdparty/bind9.git/commit
Call dns_catz_new_zones() only when it is needed
authorAram Sargsyan <aram@isc.org>
Thu, 23 Feb 2023 14:43:41 +0000 (14:43 +0000)
committerOndřej Surý <ondrej@isc.org>
Fri, 24 Feb 2023 14:00:26 +0000 (15:00 +0100)
commit2a52d30660183442848e5d585de179a23c19bc6f
tree24da554b6bee75c305b37e010e5e3190f9dbe53f
parent53f0c5a9ac12e2079f430887eeb8988cb2f89552
Call dns_catz_new_zones() only when it is needed

The configure_catz() function creates the catalog zones structure
for the view even when it is not needed, in which case it then
discards it (by detaching) later.

Instead, call dns_catz_new_zones() only when it is needed, i.e. when
there is no existing "previous" view with an existing 'catzs', that
is going to be reused.
bin/named/server.c