]> git.ipfire.org Git - thirdparty/bind9.git/commit
Unregister RPZ CATZ db cbs when zone load fails
authorMatthijs Mekking <matthijs@isc.org>
Mon, 11 Feb 2019 16:25:34 +0000 (17:25 +0100)
committerMatthijs Mekking <github@pletterpet.nl>
Fri, 22 Feb 2019 12:59:10 +0000 (13:59 +0100)
commit6ed14eff250abf04445eb9fa3c99104aa4b5c26f
treeb3056d13ffda0ea69cdb00247fe51de0d4ab79e4
parent84700f9783f7d7bc85b2d81ab4f7926217f8ab83
Unregister RPZ CATZ db cbs when zone load fails

In case when a zone fails to load because the file does not exist
or is malformed, we should not run the callback that updates the
zone database when the load is done.  This is achieved by
unregistering the callbacks if at zone load end if the result
indicates something else than success.
lib/dns/zone.c