]> git.pld-linux.org Git - packages/dhcp.git/blame - dhcp-fast-timeout.patch
- introduced -client-dirs subpackage that provides:
[packages/dhcp.git] / dhcp-fast-timeout.patch
CommitLineData
8c878a4c
ER
1diff -up dhcp-4.0.0/client/dhclient.c.fast dhcp-4.0.0/client/dhclient.c
2--- dhcp-4.0.0/client/dhclient.c.fast 2007-12-29 06:07:14.000000000 -1000
3+++ dhcp-4.0.0/client/dhclient.c 2007-12-29 06:08:07.000000000 -1000
4@@ -3624,10 +3624,7 @@ isc_result_t dhclient_interface_startup_
5 ip -> flags |= INTERFACE_RUNNING;
6 for (client = ip -> client; client; client = client -> next) {
7 client -> state = S_INIT;
8- /* Set up a timeout to start the initialization
9- process. */
10- add_timeout (cur_time + random () % 5,
11- state_reboot, client, 0, 0);
12+ add_timeout (cur_time, state_reboot, client, 0, 0);
13 }
14 }
15 return ISC_R_SUCCESS;
This page took 0.103657 seconds and 4 git commands to generate.