mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-30 22:05:23 +00:00
Several time related improvements:
- set initial delay to 0 to speed up client start - added 'initial-delay' parameter to possibly revert to old behavior - better handling of very short (1 or 2s) leases - client lease records are recorded at most once every 15 seconds - ICMP ping-check is now timed more precisely - Servers that don't offer lease-time are now black-listed [ISC-Bugs #19660]
This commit is contained in:
@@ -201,8 +201,8 @@ static void omapi_listener_start (void *foo)
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
log_error ("Can't start OMAPI protocol: %s",
|
||||
isc_result_totext (result));
|
||||
tv.tv_sec = cur_time + 5;
|
||||
tv.tv_usec = 0;
|
||||
tv.tv_sec = cur_tv.tv_sec + 5;
|
||||
tv.tv_usec = cur_tv.tv_usec;
|
||||
add_timeout (&tv, omapi_listener_start, 0, 0, 0);
|
||||
}
|
||||
omapi_object_dereference (&listener, MDL);
|
||||
|
Reference in New Issue
Block a user