dhcp/dhcp-4.0.0-fast-timeout.patch
David Cantrell c987ce551e DOES NOT COMPILE YET... This is a work in progress for rebasing this
package on ISC dhcp-4.0.0, which is a new major version. Lots of work
    going in to rebasing the package.
DON'T TOUCH!
2008-01-03 20:40:53 +00:00

16 lines
654 B
Diff

diff -up dhcp-4.0.0/client/dhclient.c.fast dhcp-4.0.0/client/dhclient.c
--- dhcp-4.0.0/client/dhclient.c.fast 2007-12-29 06:07:14.000000000 -1000
+++ dhcp-4.0.0/client/dhclient.c 2007-12-29 06:08:07.000000000 -1000
@@ -3624,10 +3624,7 @@ isc_result_t dhclient_interface_startup_
ip -> flags |= INTERFACE_RUNNING;
for (client = ip -> client; client; client = client -> next) {
client -> state = S_INIT;
- /* Set up a timeout to start the initialization
- process. */
- add_timeout (cur_time + random () % 5,
- state_reboot, client, 0, 0);
+ add_timeout (cur_time, state_reboot, client, 0, 0);
}
}
return ISC_R_SUCCESS;