]> git.ipfire.org Git - thirdparty/kea.git/commit
[#2797] add lease reuse statistics
authorAndrei Pavel <andrei@isc.org>
Fri, 28 Apr 2023 12:11:16 +0000 (15:11 +0300)
committerAndrei Pavel <andrei@isc.org>
Wed, 3 May 2023 19:26:09 +0000 (22:26 +0300)
commitdf49587577a14fef50ec5ea0c113e9f98a039687
tree2aa9588e3cd077b066f3dcf34251668e4aab1b71
parent784708e03c7a69ec8c8061852323ace9eb8f8107
[#2797] add lease reuse statistics

v4 reuses leases both on fake allocation and on real allocation, while
v6 only reuses leases on real allocation. This is a discrepancy that is
also exposed in the statistics, and may seem confusing. However, this
seems like the candidate for a new issue.
src/bin/dhcp4/dhcp4_srv.cc
src/bin/dhcp6/dhcp6_srv.cc
src/lib/dhcpsrv/cfg_subnets4.cc
src/lib/dhcpsrv/cfg_subnets6.cc