[svn] commit: r1634 - /trunk/src/bin/xfrout/xfrout.py.in

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Mar 23 10:48:10 UTC 2010


Author: zhanglikun
Date: Tue Mar 23 10:48:10 2010
New Revision: 1634

Log:
Apply new config setting immediately.

Modified:
    trunk/src/bin/xfrout/xfrout.py.in

Modified: trunk/src/bin/xfrout/xfrout.py.in
==============================================================================
--- trunk/src/bin/xfrout/xfrout.py.in (original)
+++ trunk/src/bin/xfrout/xfrout.py.in Tue Mar 23 10:48:10 2010
@@ -320,6 +320,7 @@
 class XfroutServer:
     def __init__(self):
         self._init_config_data()
+        self._unix_socket_server = None
         self._cc = isc.config.ModuleCCSession(SPECFILE_LOCATION, self.config_handler, self.command_handler)
         self._cc.start()
         self._lock = threading.Lock()
@@ -355,6 +356,9 @@
                 continue
             self._config_data[key] = new_config[key]
         
+        if self._unix_socket_server:
+            self._unix_socket_server.update_config_data(new_config)
+
         return answer
 
 




More information about the bind10-changes mailing list