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
..
2018-08-08 09:37:30 +02:00
2018-10-23 12:15:04 +00:00
2018-08-08 09:37:30 +02:00
2018-08-08 09:37:30 +02:00
2018-11-05 19:07:31 -05:00
2018-08-08 09:37:30 +02:00
2018-05-11 13:17:46 +02:00
2018-11-29 12:39:20 +11:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-08-08 09:37:28 +02:00
2018-08-08 09:37:30 +02:00
2018-12-06 10:29:10 -08:00
2018-08-08 09:37:30 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-11-15 08:21:17 +00:00
2018-08-08 09:37:30 +02:00
2018-08-08 09:37:30 +02:00
2018-08-08 09:37:30 +02:00
2018-08-08 09:37:30 +02:00
2019-01-31 12:18:55 -08:00
2018-10-03 01:03:56 -07:00
2019-02-05 22:57:13 -05:00
2018-05-11 13:17:46 +02:00
2018-12-06 10:29:11 -08:00
2018-05-11 13:17:46 +02:00
2018-08-08 09:37:28 +02:00
2018-02-23 10:12:02 +01:00
2018-05-11 13:17:46 +02:00
2018-09-06 08:11:30 +10:00
2018-04-06 08:04:41 +02:00
2018-08-08 09:37:30 +02:00
2018-08-08 09:37:28 +02:00
2018-08-08 09:37:30 +02:00
2018-08-08 09:37:30 +02:00
2018-08-08 09:37:28 +02:00
2018-05-11 13:17:46 +02:00
2018-08-08 09:37:30 +02:00
2018-12-11 11:32:24 +01:00
2019-01-09 23:44:26 +01:00
2018-08-08 09:37:30 +02:00
2018-06-05 12:10:37 +10:00
2018-05-11 13:17:46 +02:00
2018-09-03 12:05:45 +02:00
2018-08-08 09:37:28 +02:00
2018-05-11 13:17:46 +02:00
2019-01-30 11:46:11 -08:00
2018-11-14 11:23:21 -08:00
2018-11-14 18:24:53 +01:00
2018-08-08 09:37:30 +02:00
2018-08-08 09:37:30 +02:00
2018-11-05 22:01:28 -08:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-08-08 09:37:30 +02:00
2018-08-08 09:37:30 +02:00
2018-08-08 09:37:30 +02:00
2018-08-28 12:15:39 +02:00
2018-05-11 13:17:46 +02:00
2018-12-14 12:48:55 +11:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2019-01-30 14:11:12 -08:00
2018-05-11 13:17:46 +02:00
2018-08-08 09:37:30 +02:00
2018-05-11 13:17:46 +02:00
2018-08-08 09:37:30 +02:00
2019-01-16 17:41:13 -05:00
2018-06-28 13:38:39 +02:00
2018-05-11 13:17:46 +02:00
2019-02-22 13:59:10 +01:00
2018-08-08 09:37:28 +02:00
2018-08-08 09:37:30 +02:00
2018-08-08 09:37:28 +02:00
2018-08-08 09:37:30 +02:00
2018-05-11 13:17:46 +02:00
2018-05-11 13:17:46 +02:00
2018-08-08 09:37:28 +02:00
2018-09-10 09:32:31 +10:00
2018-08-08 09:37:28 +02:00
2018-08-08 09:37:28 +02:00
2018-08-08 09:37:28 +02:00
2018-08-08 09:37:30 +02:00
2018-08-08 09:37:30 +02:00
2018-05-11 13:17:46 +02:00
2018-08-08 09:37:30 +02:00
2018-08-08 09:37:30 +02:00
2018-12-06 10:29:11 -08:00
2018-08-08 09:37:28 +02:00
2018-08-08 09:37:30 +02:00
2018-04-20 19:51:00 -04:00
2018-12-06 10:36:50 -08:00
2018-05-11 13:17:46 +02:00
2018-10-24 20:32:55 +02:00
2018-08-08 09:37:30 +02:00
2018-08-08 09:37:30 +02:00
2018-08-28 17:04:45 +02:00