From 9a7532f83618b5abbfd7db59be77e451647ecbf2 Mon Sep 17 00:00:00 2001 From: Mukund Sivaraman Date: Wed, 25 Mar 2015 10:55:53 +0530 Subject: [PATCH] Send notifies immediately for slave zones during startup (#38843) --- CHANGES | 3 +++ lib/dns/zone.c | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 0aaceb6821..8ff0bf79e2 100644 --- a/CHANGES +++ b/CHANGES @@ -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 diff --git a/lib/dns/zone.c b/lib/dns/zone.c index e2419cc639..73f4221f39 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -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 */