Browse Source

[3479] Removed parameter from DHCP_DDNS_NCR_UDP_RECV_CANCELED message

This message is only output when a receive operation is cancelled,
so the parameter was always the text "operation aborted" - which
gives no new information.
Stephen Morris 10 years ago
parent
commit
3292b805f6
2 changed files with 2 additions and 3 deletions
  1. 1 1
      src/lib/dhcp_ddns/dhcp_ddns_messages.mes
  2. 1 2
      src/lib/dhcp_ddns/ncr_udp.cc

+ 1 - 1
src/lib/dhcp_ddns/dhcp_ddns_messages.mes

@@ -57,7 +57,7 @@ UDP NCR sender ready status after completing a send.  This is programmatic error
 that should be reported.  The application may or may not continue to operate
 correctly.
 
-% DHCP_DDNS_NCR_UDP_RECV_CANCELED UDP socket receive was canceled while listening for DNS Update requests: %1
+% DHCP_DDNS_NCR_UDP_RECV_CANCELED UDP socket receive was canceled while listening for DNS Update requests
 This is a debug  message indicating that the listening on a UDP socket
 for DNS update requests has been canceled.  This is a normal part of
 suspending listening operations.

+ 1 - 2
src/lib/dhcp_ddns/ncr_udp.cc

@@ -183,8 +183,7 @@ NameChangeUDPListener::receiveCompletionHandler(const bool successful,
             // A shutdown cancels all outstanding reads.  For this reason,
             // it can be an expected event, so log it as a debug message.
             LOG_DEBUG(dhcp_ddns_logger, DBGLVL_TRACE_BASIC,
-                      DHCP_DDNS_NCR_UDP_RECV_CANCELED)
-                     .arg(error_code.message());
+                      DHCP_DDNS_NCR_UDP_RECV_CANCELED);
             result = STOPPED;
         } else {
             LOG_ERROR(dhcp_ddns_logger, DHCP_DDNS_NCR_UDP_RECV_ERROR)