1 |
dmorgan |
16733 |
--- client/dhclient.c 2010/04/28 19:13:43 1.1 |
2 |
|
|
+++ client/dhclient.c 2010/04/28 19:17:01 |
3 |
|
|
@@ -594,9 +594,12 @@ |
4 |
|
|
else { |
5 |
|
|
client->state = S_INIT; |
6 |
|
|
/* Set up a timeout to start the |
7 |
|
|
- * initialization process. |
8 |
|
|
+ * initialization process, |
9 |
|
|
+ * _immediately_, as agreed but never |
10 |
|
|
+ * applied by the ISC upstream |
11 |
|
|
+ https://lists.isc.org/mailman/htdig/dhcp-users/2006-June/thread.html#928 |
12 |
|
|
*/ |
13 |
|
|
- tv.tv_sec = cur_time + random() % 5; |
14 |
|
|
+ tv.tv_sec = cur_time - 1; |
15 |
|
|
tv.tv_usec = 0; |
16 |
|
|
add_timeout(&tv, state_reboot, |
17 |
|
|
client, 0, 0); |