diff --git a/CHANGES b/CHANGES index 992eb6ca1b..7e0e7c1c13 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,6 @@ - 261 [func] Add dns_zone_markdirty(). + 262. [bug] 'master' was not initalised in zone.c:stub_callback(). + + 261. [func] Add dns_zone_markdirty(). 260. [bug] Running named as a non-root user failed on Linux kernels new enough to support retaining capabilities diff --git a/lib/dns/zone.c b/lib/dns/zone.c index 666295b98e..cec78ab91e 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: zone.c,v 1.149 2000/06/19 23:05:30 marka Exp $ */ +/* $Id: zone.c,v 1.150 2000/06/20 19:03:13 marka Exp $ */ #include @@ -2112,6 +2112,8 @@ stub_callback(isc_task_t *task, isc_event_t *event) { isc_stdtime_get(&now); + isc_sockaddr_format(&zone->masteraddr, master, sizeof(master)); + if (revent->result != ISC_R_SUCCESS) { zone_log(zone, me, ISC_LOG_INFO, "failure for %s: %s", master, dns_result_totext(revent->result));