[svn] commit: r1642 - /trunk/src/bin/xfrout/xfrout.py.in
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Mar 25 04:08:05 UTC 2010
Author: zhanglikun
Date: Thu Mar 25 04:08:05 2010
New Revision: 1642
Log:
Fix function parameters error.
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 Thu Mar 25 04:08:05 2010
@@ -105,7 +105,7 @@
self._send_message(sock, msg)
- def _reply_query_with_format_error(self, sock, msg):
+ def _reply_query_with_format_error(self, msg, sock):
'''query message format isn't legal.'''
if not msg:
return # query message is invalid. send nothing back.
@@ -152,7 +152,7 @@
rcode_, msg = self._parse_query_message(msg_query)
#TODO. create query message and parse header
if rcode_ != rcode.NOERROR():
- return self._reply_query_with_format_error(msg, sock, msg_query)
+ return self._reply_query_with_format_error(msg, sock)
zone_name = self._get_query_zone_name(msg)
rcode_ = self._check_xfrout_available(zone_name)
More information about the bind10-changes
mailing list