mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 06:55:30 +00:00
do not log "zone serial has gone backwards" when the
serial remains unchanged on zone reload
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
* SOFTWARE.
|
* 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>
|
#include <config.h>
|
||||||
|
|
||||||
@@ -705,7 +705,7 @@ dns_zone_load(dns_zone_t *zone) {
|
|||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
if (zone->top != NULL) {
|
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_log(zone, me, ISC_LOG_ERROR,
|
||||||
"zone serial has gone backwards");
|
"zone serial has gone backwards");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user