forensic logging: renewals are logged as assignments
For n
subsequent DHCPREQUESTs or DHCPv6_REQUESTSs:
v | v | log |
---|---|---|
1.9.7 | v4 | 1 * has been assigned + (n - 1) * has been renewed
|
1.9.7 | v6 | 1 * has been assigned
|
1.9.8+ | v4 | n * has been assigned
|
1.9.8+ | v6 | n * has been assigned
|
The inconsistency of n - 1
missing renewal messages in v6 has been fixed in 1.9.8. But they are now shown as assignments instead of renewals. I think the behavior in 1.9.7 for v4 is what we need now for both v4 and v6.
DHCPV6_RENEWs and subsequent DHCPV6_REQUESTs are both logged as has been assigned
. The message type should not make a difference. The behavior in 1.9.7 where only the state of the lease was being taken into account seems better to me, and so they should both say has been renewed
.