Browse 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 12 years ago
parent
commit
be41be890f
3 changed files with 7 additions and 2 deletions
  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
 	libdhcp++: Removed unnecesary calls to the function which
 	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,
                                                       Rcode.FORMERR)
         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),
                         self._server._max_transfers_out)
             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
 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 maximum number of allowable transfers as specified in the transfers_out
 configuration parameter, which is also shown in the log message.  The