diff options
author | Francis Dupont <fdupont@isc.org> | 2019-06-21 16:29:41 +0200 |
---|---|---|
committer | Francis Dupont <fdupont@isc.org> | 2019-06-26 14:51:04 +0200 |
commit | 5367cd1196662739bbff5e99072ab6a55cfb0489 (patch) | |
tree | 7f60c53876b7e893fa9007a64aafffc5b4dd219f /src/lib/dhcpsrv/dhcpsrv_messages.mes | |
parent | [694-add-valid-lifetime-to-dhcp4_lease_alloc-and-dhcp6_lease_alloc-logging] A... (diff) | |
download | kea-5367cd1196662739bbff5e99072ab6a55cfb0489.tar.xz kea-5367cd1196662739bbff5e99072ab6a55cfb0489.zip |
[685-log-the-expected-subnet-id-as-well-as-the-actual-subnet-id-when-the-sanity-checker-identifies-a-problem] Improved SanityChecker logs
Diffstat (limited to 'src/lib/dhcpsrv/dhcpsrv_messages.mes')
-rw-r--r-- | src/lib/dhcpsrv/dhcpsrv_messages.mes | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/dhcpsrv/dhcpsrv_messages.mes b/src/lib/dhcpsrv/dhcpsrv_messages.mes index 6ad1ef292a..fa451ab7df 100644 --- a/src/lib/dhcpsrv/dhcpsrv_messages.mes +++ b/src/lib/dhcpsrv/dhcpsrv_messages.mes @@ -450,13 +450,13 @@ and the attempt ended in error. The access string in question - which should be of the form 'keyword=value keyword=value...' is included in the message. -% DHCPSRV_LEASE_SANITY_FAIL The lease %1 with subnet-id %2 failed subnet-id checks. +% DHCPSRV_LEASE_SANITY_FAIL The lease %1 with subnet-id %2 failed subnet-id checks (%3). This warning message is printed when the lease being loaded does not match the configuration. Due to lease-checks value, the lease will be loaded, but it will most likely be unused by Kea, as there is no subnet that matches the IP address associated with the lease. -% DHCPSRV_LEASE_SANITY_FAIL_DISCARD The lease %1 with subnet-id %2 failed subnet-id checks and was dropped. +% DHCPSRV_LEASE_SANITY_FAIL_DISCARD The lease %1 with subnet-id %2 failed subnet-id checks (%3) and was dropped. This warning message is printed when a lease was loaded, but Kea was told (by setting lease-checks parameter) to discard leases with inconsistent data. The lease was discarded, because either there is no subnet configured |