diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-07-07 17:00:56 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-07-07 17:00:56 +0000 |
commit | 1bb186ca50e911a65e7cb2b6156c1d8bc6e09af5 (patch) | |
tree | e74dcdec3ffcdd03f91946a41069a60aa97cbb55 /sbin | |
parent | 55ead35345c7eedf5f47bbc0856cc310c6c4790c (diff) |
make the shell script execution window 3 seconds. i really need to find
a better solution...
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/dhclient/dhclient.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c index a0908599dc4..719a59573d1 100644 --- a/sbin/dhclient/dhclient.c +++ b/sbin/dhclient/dhclient.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dhclient.c,v 1.56 2004/06/23 05:15:21 deraadt Exp $ */ +/* $OpenBSD: dhclient.c,v 1.57 2004/07/07 17:00:55 deraadt Exp $ */ /* * Copyright 2004 Henning Brauer <henning@openbsd.org> @@ -217,7 +217,7 @@ routehandler(struct protocol *p) break; if (findproto((char *)(ifam + 1), ifam->ifam_addrs) != AF_INET) break; - if (scripttime == 0 || t < scripttime + 1) + if (scripttime == 0 || t < scripttime + 3) break; goto die; case RTM_IFINFO: |