Commit fba6d460 authored by Andreas Gustafsson's avatar Andreas Gustafsson
Browse files

do not log "zone serial has gone backwards" when the

serial remains unchanged on zone reload
parent d6f5fc79
......@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: zone.c,v 1.51 1999/12/22 19:09:29 gson Exp $ */
/* $Id: zone.c,v 1.52 1999/12/22 20:52:32 gson Exp $ */
#include <config.h>
......@@ -705,7 +705,7 @@ dns_zone_load(dns_zone_t *zone) {
goto cleanup;
}
if (zone->top != NULL) {
if (!isc_serial_gt(soa.serial, zone->serial)) {
if (!isc_serial_ge(soa.serial, zone->serial)) {
zone_log(zone, me, ISC_LOG_ERROR,
"zone serial has gone backwards");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment