[svn] commit: r2885 - /branches/trac329/src/bin/xfrin/xfrin.py.in

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Sep 9 06:17:40 UTC 2010


Author: zhanglikun
Date: Thu Sep  9 06:17:40 2010
New Revision: 2885

Log:
When xfrin fails to connect to one zone's master, it should tell the bad news to zonemgr. so the latter one can reset the timer for the zone.

Modified:
    branches/trac329/src/bin/xfrin/xfrin.py.in

Modified: branches/trac329/src/bin/xfrin/xfrin.py.in
==============================================================================
--- branches/trac329/src/bin/xfrin/xfrin.py.in (original)
+++ branches/trac329/src/bin/xfrin/xfrin.py.in Thu Sep  9 06:17:40 2010
@@ -326,10 +326,11 @@
     sock_map = {}
     conn = XfrinConnection(sock_map, zone_name, rrclass, db_file,
                            shutdown_event, master_addrinfo, verbose)
+    ret = XFRIN_FAIL
     if conn.connect_to_master():
         ret = conn.do_xfrin(check_soa)
-        server.publish_xfrin_news(zone_name, rrclass, ret)
-
+
+    server.publish_xfrin_news(zone_name, rrclass, ret)
     xfrin_recorder.decrement(zone_name)
 
 




More information about the bind10-changes mailing list