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

(cherry picked from commit 9a7532f836)
This commit is contained in:
Mukund Sivaraman 2015-03-25 10:55:53 +05:30
parent 2fa25cdb19
commit 76d6b3c544
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

@ -12202,7 +12202,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 */