2
0
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:
Thomas Markwalder
2016-07-28 06:51:30 -04:00
parent dd3373f457
commit 6b797e44e9

View File

@@ -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