]> 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 14:24:24 +0000 (15:24 +0100)
commit05f156e8babb901174d0702a2c8c69122e250edb
treee93f43f3e0e4974f08343b4878a61230705c6fc9
parentae159914b07a49136dec6bf98639633d40edcc6d
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