2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

Send notifies immediately for slave zones during startup (#38843)

This commit is contained in:
Mukund Sivaraman
2015-03-25 10:55:53 +05:30
parent 3e2bfb151a
commit 9a7532f836
2 changed files with 5 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
4089. [bug] Send notifies immediately for slave zones during
startup. [RT #38843]
4088. [port] Fixed errors when building with libressl. [RT #38899]
4087. [bug] Fix a crash due to use-after-free due to sequencing

View File

@@ -12343,7 +12343,8 @@ zone_settimer(dns_zone_t *zone, isc_time_t *now) {
case dns_zone_slave:
treat_as_slave:
if (DNS_ZONE_FLAG(zone, DNS_ZONEFLG_NEEDNOTIFY))
if (DNS_ZONE_FLAG(zone, DNS_ZONEFLG_NEEDNOTIFY) ||
DNS_ZONE_FLAG(zone, DNS_ZONEFLG_NEEDSTARTUPNOTIFY))
next = zone->notifytime;
/* FALLTHROUGH */