summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>2011-07-11 13:46:54 +0200
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>2011-07-13 13:46:53 +0200
commit1d03e4212cffa7fcf57d0f3a4fcdc1920c959e40 (patch)
tree64b8a367859ce1a9faefd49127e029638649e763
parent[trac983] allowed python representation of JSON (as well as bare string) (diff)
downloadkea-1d03e4212cffa7fcf57d0f3a4fcdc1920c959e40.tar.xz
kea-1d03e4212cffa7fcf57d0f3a4fcdc1920c959e40.zip
[trac772] Comment cleanup
-rwxr-xr-xsrc/bin/xfrout/xfrout.py.in9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/bin/xfrout/xfrout.py.in b/src/bin/xfrout/xfrout.py.in
index a75ff22245..d949986ef3 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)