]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1458] unify a message ID and its brief description (on 'refused' vs 'denied')
authorJINMEI Tatuya <jinmei@isc.org>
Wed, 30 May 2012 22:08:59 +0000 (15:08 -0700)
committerJINMEI Tatuya <jinmei@isc.org>
Wed, 30 May 2012 22:08:59 +0000 (15:08 -0700)
adopted denied as it was used in BIND 9's log message.

src/lib/python/isc/ddns/libddns_messages.mes
src/lib/python/isc/ddns/session.py

index ade01865a56c763f021df7e8f4801ea0bf3ed03f..27ab475b0334638fec27f61869f1740afeafacb2 100644 (file)
@@ -50,7 +50,7 @@ configuration of those clients to suppress the requests.  As specified
 in Section 3.1 of RFC2136, the receiving server will return a response
 with an RCODE of NOTAUTH.
 
-% LIBDDNS_UPDATE_REFUSED update client %1 for zone %2 denied
+% LIBDDNS_UPDATE_DENIED update client %1 for zone %2 denied
 Informational message.  An update request was denied because it was
 rejected by the zone's update ACL.  When this library is used by
 b10-ddns, the server will respond to the request with an RCODE of
index b966f4469bce8d2e7ebc550d82caf00a416632b7..4e4255f0a36c087abe75c68589b129bbbf7fbc8b 100644 (file)
@@ -186,7 +186,7 @@ class UpdateSession:
         action = acl.execute(isc.acl.dns.RequestContext(
                 (self.__client_addr[0], self.__client_addr[1]), self.__tsig))
         if action == REJECT:
-            logger.info(LIBDDNS_UPDATE_REFUSED,
+            logger.info(LIBDDNS_UPDATE_DENIED,
                         ClientFormatter(self.__client_addr, self.__tsig),
                         ZoneFormatter(zname, zclass))
             raise UpdateError('rejected', zname, zclass, Rcode.REFUSED(), True)