-
-
Save mimuret/5924683e2719769fa55e540fbbf14634 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/xfrd.c b/xfrd.c | |
index 810ee3e..1c03750 100644 | |
--- a/xfrd.c | |
+++ b/xfrd.c | |
@@ -1892,13 +1892,13 @@ xfrd_parse_received_xfr_packet(xfrd_zone_type* zone, buffer_type* packet, | |
zone->soa_disk_acquired = xfrd_time(); | |
if(zone->soa_nsd.serial == soa->serial) | |
zone->soa_nsd_acquired = xfrd_time(); | |
+ xfrd_set_zone_state(zone, xfrd_zone_ok); | |
+ DEBUG(DEBUG_XFRD,1, (LOG_INFO, "xfrd: zone %s is ok", | |
+ zone->apex_str)); | |
if(zone->zone_options->pattern->multi_master_check) { | |
region_destroy(tempregion); | |
return xfrd_packet_drop; | |
} | |
- xfrd_set_zone_state(zone, xfrd_zone_ok); | |
- DEBUG(DEBUG_XFRD,1, (LOG_INFO, "xfrd: zone %s is ok", | |
- zone->apex_str)); | |
if(zone->soa_notified_acquired == 0) { | |
/* not notified or anything, so stop asking around */ | |
zone->round_num = -1; /* next try start a new round */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment