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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user