2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-03 23:45:27 +00:00

[#2918] added message for requested address on DHCPREQUEST

This commit is contained in:
Razvan Becheriu
2023-10-04 14:18:23 +03:00
parent c4cde200a5
commit b30b89c49f
4 changed files with 15 additions and 0 deletions

View File

@@ -2668,6 +2668,10 @@ Dhcpv4Srv::assignLease(Dhcpv4Exchange& ex) {
LOG_DEBUG(lease4_logger, DBG_DHCP4_DETAIL, DHCP4_DISCOVER)
.arg(query->getLabel())
.arg(hint != IOAddress::IPV4_ZERO_ADDRESS() ? hint.toText() : "(no hint)");
} else {
LOG_DEBUG(lease4_logger, DBG_DHCP4_DETAIL, DHCP4_REQUEST)
.arg(query->getLabel())
.arg(hint != IOAddress::IPV4_ZERO_ADDRESS() ? hint.toText() : "(no hint)");
}
// If there is no subnet configuration for that client we ignore the