bind9/lib
Matthijs Mekking 6756280242 Remove rpz->db_registered
As pointed out in !813 db_registered is sort of redundant.  It is
set to `true` only in `dns_zone_rpz_enable_db()` right before the
`dns_rpz_dbupdate_callback()` callback is registered.  It is only
required in that callback and it is the only place that the callback
is registered.  Therefore there is no path that that `REQUIRE` can
fail.

The `db_registered` variable is only set to `false` in
`dns_rpz_new_zone`, so it is not like the variable is unset again
later.

The only other place where `db_registered` is checked is in
`rpz_detach()`.  If `true`, it will call
`dns_db_updatenotify_unregister()`.  However if that happens, the
`db_registered` is not set back to `false` thus this implies that
this may happen multiple times.  If called a second time, most
likely the unregister function will return `ISC_R_NOTFOUND`, but
the return value is not checked anyway.  So it can do without the
`db_registered` check.
2019-02-22 13:59:10 +01:00
..
bind9 documentation changes setting up 9.15 development branch 2019-02-21 16:42:17 -08:00
dns Remove rpz->db_registered 2019-02-22 13:59:10 +01:00
irs documentation changes setting up 9.15 development branch 2019-02-21 16:42:17 -08:00
isc documentation changes setting up 9.15 development branch 2019-02-21 16:42:17 -08:00
isccc documentation changes setting up 9.15 development branch 2019-02-21 16:42:17 -08:00
isccfg documentation changes setting up 9.15 development branch 2019-02-21 16:42:17 -08:00
ns use client->query.qname 2019-02-22 00:04:52 -05:00
samples Add @OPENSSL_LIB@ to Windows project files as needed 2018-08-10 16:45:00 +02:00
win32/bindevt address win32 build issues 2018-05-22 16:32:21 -07:00
.gitignore added gitignore, removed cvsignore 2012-03-03 23:10:05 -08:00
Kyuafile link in lib/isccc/tests/Kyuafile 2018-11-13 07:23:36 +11:00
Makefile.in remove lib/tests as nothing uses it anymore 2018-03-09 14:12:50 -08:00