2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 14:25:41 +00:00

[master] Add support for manipulating lease queues via a binary search.

Add support for manipluating the queues holding leaes for time
based events (free, backup, active, expired, abandoned and reserved)
via a binary search instead of walking through the linked list.
This commit is contained in:
Shawn Routhier
2015-05-27 13:17:46 -07:00
parent 4136513e59
commit 3933e2aa51
18 changed files with 1693 additions and 179 deletions

View File

@@ -1117,6 +1117,12 @@ void postconf_initialization (int quiet)
data_string_forget(&db, MDL);
}
#if defined (BINARY_LEASES)
if (local_family == AF_INET) {
log_info("Source compiled to use binary-leases");
}
#endif
/* Don't need the options anymore. */
option_state_dereference(&options, MDL);
}