/[packages]/cauldron/dhcp/current/SOURCES/dhcp-4.1.1-useless-wait.patch
ViewVC logotype

Contents of /cauldron/dhcp/current/SOURCES/dhcp-4.1.1-useless-wait.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 16733 - (show annotations) (download)
Thu Jan 13 23:42:18 2011 UTC (10 years, 5 months ago) by dmorgan
File size: 584 byte(s)
imported package dhcp
1 --- 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);

  ViewVC Help
Powered by ViewVC 1.1.28