diff options
author | Thomas Markwalder <tmark@isc.org> | 2016-07-28 06:51:30 -0400 |
---|---|---|
committer | Thomas Markwalder <tmark@isc.org> | 2016-07-28 06:51:30 -0400 |
commit | 6b797e44e97c606494018c5df6e57c9994a3a788 (patch) | |
tree | ce567f7a215466bc3c8b3c99cd5090e8f1f1b6a5 | |
parent | dd3373f457d73a345afbe7778c47da71dbaf0248 (diff) | |
download | isc-dhcp-6b797e44e97c606494018c5df6e57c9994a3a788.tar.gz |
[master] find_lease() now ACKs reclaimed abandoned addresses
Merges in rt41815a.
-rw-r--r-- | server/dhcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/dhcp.c b/server/dhcp.c index 915d1b1a..c9b36325 100644 --- a/server/dhcp.c +++ b/server/dhcp.c @@ -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 |