diff options
author | Thomas Markwalder <tmark@isc.org> | 2022-07-11 17:34:26 +0200 |
---|---|---|
committer | Thomas Markwalder <tmark@isc.org> | 2022-07-18 12:51:05 +0200 |
commit | 7fa980bf06f869a979214cbb761cc1408ce8c20b (patch) | |
tree | 93a590e5442d9b0d17458e177ee3588534f3044b /src/lib/dhcpsrv/cfg_subnets4.cc | |
parent | [#2469] moved upload to cloudsmith step later in the process, addressed revie... (diff) | |
download | kea-7fa980bf06f869a979214cbb761cc1408ce8c20b.tar.xz kea-7fa980bf06f869a979214cbb761cc1408ce8c20b.zip |
[#2487] Toned down message ID and text
Removed the word FAILED/failed and toned down log messages added in #2352
so they will not be mistaken for error conditions.
src/lib/dhcpsrv/cfg_subnets4.cc
src/lib/dhcpsrv/cfg_subnets6.cc
src/lib/dhcpsrv/dhcpsrv_messages.cc b/src/lib/dhcpsrv/dhcpsrv_messages.cc
src/lib/dhcpsrv/dhcpsrv_messages.h b/src/lib/dhcpsrv/dhcpsrv_messages.h
src/lib/dhcpsrv/dhcpsrv_messages.h b/src/lib/dhcpsrv/dhcpsrv_messages.me
Diffstat (limited to 'src/lib/dhcpsrv/cfg_subnets4.cc')
-rw-r--r-- | src/lib/dhcpsrv/cfg_subnets4.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/dhcpsrv/cfg_subnets4.cc b/src/lib/dhcpsrv/cfg_subnets4.cc index 3a32d6baa4..2f160b655d 100644 --- a/src/lib/dhcpsrv/cfg_subnets4.cc +++ b/src/lib/dhcpsrv/cfg_subnets4.cc @@ -300,7 +300,7 @@ CfgSubnets4::selectSubnet(const SubnetSelector& selector) const { selector.client_classes_)); } else { LOG_DEBUG(dhcpsrv_logger, DHCPSRV_DBG_TRACE, - DHCPSRV_SUBNET4_SELECT_FAILED_NO_RAI_OPTIONS_ADDRESS); + DHCPSRV_SUBNET4_SELECT_NO_RAI_OPTIONS); } // If relayed message has been received, try to match the giaddr with the @@ -337,11 +337,11 @@ CfgSubnets4::selectSubnet(const SubnetSelector& selector) const { } } LOG_DEBUG(dhcpsrv_logger, DHCPSRV_DBG_TRACE, - DHCPSRV_SUBNET4_SELECT_BY_RELAY_ADDRESS_FAILED) + DHCPSRV_SUBNET4_SELECT_BY_RELAY_ADDRESS_NO_MATCH) .arg(selector.giaddr_.toText()); } else { LOG_DEBUG(dhcpsrv_logger, DHCPSRV_DBG_TRACE, - DHCPSRV_SUBNET4_SELECT_FAILED_NO_RELAY_ADDRESS); + DHCPSRV_SUBNET4_SELECT_NO_RELAY_ADDRESS); } // If we got to this point it means that we were not able to match the @@ -394,7 +394,7 @@ CfgSubnets4::selectSubnet(const SubnetSelector& selector) const { // Unable to find a suitable address to use for subnet selection. if (address.isV4Zero()) { LOG_DEBUG(dhcpsrv_logger, DHCPSRV_DBG_TRACE, - DHCPSRV_SUBNET4_SELECT_FAILED_NO_ADDRESS); + DHCPSRV_SUBNET4_SELECT_NO_USABLE_ADDRESS); return (Subnet4Ptr()); } @@ -441,7 +441,7 @@ CfgSubnets4::selectSubnet(const std::string& iface, } LOG_DEBUG(dhcpsrv_logger, DHCPSRV_DBG_TRACE, - DHCPSRV_SUBNET4_SELECT_BY_INTERFACE_FAILED) + DHCPSRV_SUBNET4_SELECT_BY_INTERFACE_NO_MATCH) .arg(iface); // Failed to find a subnet. @@ -480,7 +480,7 @@ CfgSubnets4::selectSubnet(const IOAddress& address, } LOG_DEBUG(dhcpsrv_logger, DHCPSRV_DBG_TRACE, - DHCPSRV_SUBNET4_SELECT_BY_ADDRESS_FAILED) + DHCPSRV_SUBNET4_SELECT_BY_ADDRESS_NO_MATCH) .arg(address.toText()); // Failed to find a subnet. |