diff options
author | mbr <mbr@FreeBSD.org> | 2003-07-28 13:25:04 +0000 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2003-07-28 13:25:04 +0000 |
commit | df37a5270c965c0d1d1461fce913ee30a095d353 (patch) | |
tree | beefa0013cff908112d7159739024728b2eb7f51 /contrib/isc-dhcp | |
parent | 23f4f4ab05397d6e64cc6b1fc8750022fc1dfa37 (diff) | |
download | FreeBSD-src-df37a5270c965c0d1d1461fce913ee30a095d353.zip FreeBSD-src-df37a5270c965c0d1d1461fce913ee30a095d353.tar.gz |
Don't wait forever if there is no link, go to background
after 2 x polling time.
Diffstat (limited to 'contrib/isc-dhcp')
-rw-r--r-- | contrib/isc-dhcp/client/dhclient.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/isc-dhcp/client/dhclient.c b/contrib/isc-dhcp/client/dhclient.c index 9ec549c..dc37773 100644 --- a/contrib/isc-dhcp/client/dhclient.c +++ b/contrib/isc-dhcp/client/dhclient.c @@ -3320,6 +3320,8 @@ void state_link (cpp) } } } + if (doinitcheck) + go_daemon (); doinitcheck = 1; } #endif /* ifdef ENABLE_POLLING_MODE */ |