mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
Define a separate dns_zonetype_t for mirror zones
Rather than overloading dns_zone_slave and discerning between a slave zone and a mirror zone using a zone option, define a separate enum value, dns_zone_mirror, to be used exclusively by mirror zones. Update code handling slave zones to ensure it also handles mirror zones where applicable.
This commit is contained in:
committed by
Ondřej Surý
parent
4a83ccf071
commit
e1bb8de6f0
@@ -141,6 +141,7 @@ ns_notify_start(ns_client_t *client) {
|
||||
|
||||
if ((zonetype == dns_zone_master) ||
|
||||
(zonetype == dns_zone_slave) ||
|
||||
(zonetype == dns_zone_mirror) ||
|
||||
(zonetype == dns_zone_stub))
|
||||
{
|
||||
isc_sockaddr_t *from = ns_client_getsockaddr(client);
|
||||
|
Reference in New Issue
Block a user