log old and new serials
@@ -1943,11 +1943,11 @@ xfrd_parse_received_xfr_packet(xfrd_zone_type* zone, buffer_type* packet,
zone->state != xfrd_zone_expired /* if expired - accept anything */ &&
compare_serial(ntohl(soa->serial), ntohl(zone->soa_disk.serial)) < 0) {
DEBUG(DEBUG_XFRD,1, (LOG_INFO,
- "xfrd: zone %s ignoring old serial from %s",
- zone->apex_str, zone->master->ip_address_spec));
+ "xfrd: zone %s ignoring old serial (%u/%u) from %s",
+ zone->apex_str, ntohl(zone->soa_disk.serial), ntohl(soa->serial), zone->master->ip_address_spec));
VERBOSITY(1, (LOG_INFO,
- "xfrd: zone %s ignoring old serial from %s",
- zone->apex_str, zone->master->ip_address_spec));
+ "xfrd: zone %s ignoring old serial (%u/%u) from %s",
+ zone->apex_str, ntohl(zone->soa_disk.serial), ntohl(soa->serial), zone->master->ip_address_spec));
region_destroy(tempregion);
return xfrd_packet_bad;
}
