the flag. (and accidentally ran make tests in the wrong tree, misleading
myself into thinking it was fine.)
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: zone.c,v 1.538 2009/12/04 22:45:11 each Exp $ */
+/* $Id: zone.c,v 1.539 2009/12/05 01:25:43 each Exp $ */
/*! \file */
unsigned int nkeys = 0;
isc_uint32_t nodes;
isc_boolean_t was_ksk;
+ isc_time_t when;
dns_rdataset_init(&rdataset);
dns_fixedname_init(&fixed);
*/
TIME_NOW(&when);
if (DNS_ZONE_FLAG(zone, DNS_ZONEFLG_NOTIFYRESIGN)) {
+ LOCK_ZONE(zone);
DNS_ZONE_CLRFLAG(zone, DNS_ZONEFLG_NOTIFYRESIGN);
- zone_notify(zone, when);
+ UNLOCK_ZONE(zone);
+ zone_notify(zone, &when);
}
pauseall: