BIND 10 trac772, updated. 80bf2d9bd104c9664f322bf1b92538fefacc7633 [trac772] Comment cleanup

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Jul 11 11:47:41 UTC 2011


The branch, trac772 has been updated
       via  80bf2d9bd104c9664f322bf1b92538fefacc7633 (commit)
      from  b327d9aac9bfd87e175d03421069ae679087dd00 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 80bf2d9bd104c9664f322bf1b92538fefacc7633
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date:   Mon Jul 11 13:46:54 2011 +0200

    [trac772] Comment cleanup

-----------------------------------------------------------------------

Summary of changes:
 src/bin/xfrout/xfrout.py.in |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/bin/xfrout/xfrout.py.in b/src/bin/xfrout/xfrout.py.in
index a75ff22..d949986 100755
--- a/src/bin/xfrout/xfrout.py.in
+++ b/src/bin/xfrout/xfrout.py.in
@@ -93,12 +93,9 @@ def get_rrset_len(rrset):
 
 class XfroutSession():
     def __init__(self, sock_fd, request_data, server, tsig_key_ring):
-        # The initializer for the superclass may call functions
-        # that need _log to be set, so we set it first
         self._sock_fd = sock_fd
         self._request_data = request_data
         self._server = server
-        #self._log = log
         self._tsig_key_ring = tsig_key_ring
         self._tsig_ctx = None
         self._tsig_len = 0
@@ -141,6 +138,8 @@ class XfroutSession():
             # TSIG related checks
             rcode = self._check_request_tsig(msg, mdata)
 
+            # TODO The ACL check comes here
+
         except Exception as err:
             logger.error(XFROUT_PARSE_QUERY_ERROR, str(err))
             return Rcode.FORMERR(), None
@@ -563,7 +562,6 @@ class UnixSockServer(socketserver_mixin.NoPollMixIn, ThreadingUnixStreamServer):
 class XfroutServer:
     def __init__(self):
         self._unix_socket_server = None
-        #self._log = None
         self._listen_sock_file = UNIX_SOCKET_FILE
         self._shutdown_event = threading.Event()
         self._cc = isc.config.ModuleCCSession(SPECFILE_LOCATION, self.config_handler, self.command_handler, None, True)
@@ -601,9 +599,6 @@ class XfroutServer:
                 continue
             self._config_data[key] = new_config[key]
 
-        #if self._log:
-        #    self._log.update_config(new_config)
-
         if self._unix_socket_server:
             self._unix_socket_server.update_config_data(self._config_data)
 




More information about the bind10-changes mailing list