]> git.pld-linux.org Git - packages/dhcp.git/blob - dhcp-fast-timeout.patch
- patch no-ipv6 - don't require ipv6 support in kernel
[packages/dhcp.git] / dhcp-fast-timeout.patch
1 diff -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.03347 seconds and 3 git commands to generate.