mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 14:25:41 +00:00
[master] find_lease() now ACKs reclaimed abandoned addresses
Merges in rt41815a.
This commit is contained in:
@@ -4562,6 +4562,7 @@ int find_lease (struct lease **lp,
|
||||
#if defined (DEBUG_FIND_LEASE)
|
||||
log_info ("not choosing requested address (!).");
|
||||
#endif
|
||||
lease_dereference (&ip_lease, MDL);
|
||||
} else {
|
||||
#if defined (DEBUG_FIND_LEASE)
|
||||
log_info ("choosing lease on requested address.");
|
||||
@@ -4570,7 +4571,6 @@ int find_lease (struct lease **lp,
|
||||
if (lease -> host)
|
||||
host_dereference (&lease -> host, MDL);
|
||||
}
|
||||
lease_dereference (&ip_lease, MDL);
|
||||
}
|
||||
|
||||
/* If we got a lease that matched the client identifier, we may want
|
||||
|
Reference in New Issue
Block a user