Blame dhcp-4.0.0-fast-timeout.patch
|
|
4f14cb7 |
diff -up dhcp-4.0.0//client/dhclient.c.fast_timeout dhcp-4.0.0//client/dhclient.c
|
|
|
4f14cb7 |
--- dhcp-4.0.0//client/dhclient.c.fast_timeout 2008-08-01 10:10:10.000000000 -1000
|
|
|
4f14cb7 |
+++ dhcp-4.0.0//client/dhclient.c 2008-08-01 10:13:37.000000000 -1000
|
|
|
4f14cb7 |
@@ -3613,10 +3613,7 @@ isc_result_t dhclient_interface_startup_
|
|
|
7ebed4a |
ip -> flags |= INTERFACE_RUNNING;
|
|
|
7ebed4a |
for (client = ip -> client; client; client = client -> next) {
|
|
|
7ebed4a |
client -> state = S_INIT;
|
|
|
7ebed4a |
- /* Set up a timeout to start the initialization
|
|
|
7ebed4a |
- process. */
|
|
|
7ebed4a |
- add_timeout (cur_time + random () % 5,
|
|
|
7ebed4a |
- state_reboot, client, 0, 0);
|
|
|
7ebed4a |
+ add_timeout (cur_time, state_reboot, client, 0, 0);
|
|
|
7ebed4a |
}
|
|
|
7ebed4a |
}
|
|
|
7ebed4a |
return ISC_R_SUCCESS;
|