Parcourir la source

[master] fix typo in a message ID

because it is a message ID, add a changelog entry too.
(reviewed via jabber)
Jeremy C. Reed il y a 12 ans
Parent
commit
be41be890f
3 fichiers modifiés avec 7 ajouts et 2 suppressions
  1. 5 0
      ChangeLog
  2. 1 1
      src/bin/xfrout/xfrout.py.in
  3. 1 1
      src/bin/xfrout/xfrout_messages.mes

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+587.	[bug]*		jreed
+	b10-xfrout: Log message id XFROUT_QUERY_QUOTA_EXCCEEDED
+	changed to XFROUT_QUERY_QUOTA_EXCEEDED.
+	(git ...)
+
 586.	[func]		marcin
 586.	[func]		marcin
 	libdhcp++: Removed unnecesary calls to the function which
 	libdhcp++: Removed unnecesary calls to the function which
 	validates option definitions used to create instances of options
 	validates option definitions used to create instances of options

+ 1 - 1
src/bin/xfrout/xfrout.py.in

@@ -502,7 +502,7 @@ class XfroutSession():
             return self._reply_query_with_error_rcode(msg, sock_fd,
             return self._reply_query_with_error_rcode(msg, sock_fd,
                                                       Rcode.FORMERR)
                                                       Rcode.FORMERR)
         elif not quota_ok:
         elif not quota_ok:
-            logger.warn(XFROUT_QUERY_QUOTA_EXCCEEDED, self._request_typestr,
+            logger.warn(XFROUT_QUERY_QUOTA_EXCEEDED, self._request_typestr,
                         format_addrinfo(self._remote),
                         format_addrinfo(self._remote),
                         self._server._max_transfers_out)
                         self._server._max_transfers_out)
             return self._reply_query_with_error_rcode(msg, sock_fd,
             return self._reply_query_with_error_rcode(msg, sock_fd,

+ 1 - 1
src/bin/xfrout/xfrout_messages.mes

@@ -131,7 +131,7 @@ given host.  This is required by the ACLs.  The %2 represents the IP
 address and port of the peer requesting the transfer, and the %3
 address and port of the peer requesting the transfer, and the %3
 represents the zone name and class.
 represents the zone name and class.
 
 
-% XFROUT_QUERY_QUOTA_EXCCEEDED %1 client %2: request denied due to quota (%3)
+% XFROUT_QUERY_QUOTA_EXCEEDED %1 client %2: request denied due to quota (%3)
 The xfr request was rejected because the server was already handling
 The xfr request was rejected because the server was already handling
 the maximum number of allowable transfers as specified in the transfers_out
 the maximum number of allowable transfers as specified in the transfers_out
 configuration parameter, which is also shown in the log message.  The
 configuration parameter, which is also shown in the log message.  The