diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-12-05 18:35:52 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-12-05 18:35:52 +0000 |
commit | 8dece886df1d65c2103c12cd3dcb0dbe4160b21a (patch) | |
tree | 3d9ee5656b528e2502e105c3a645b7db4762f997 | |
parent | e43c7748a013ce41ed5889a855a854a8e1885491 (diff) |
extend window of "ignoring route messages on the socket" for 10 seconds
instead of 3.
-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 5ec80e95828..ddcecf7f6af 100644 --- a/sbin/dhclient/dhclient.c +++ b/sbin/dhclient/dhclient.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dhclient.c,v 1.61 2004/11/25 11:05:10 claudio Exp $ */ +/* $OpenBSD: dhclient.c,v 1.62 2004/12/05 18:35:51 deraadt Exp $ */ /* * Copyright 2004 Henning Brauer <henning@openbsd.org> @@ -220,7 +220,7 @@ routehandler(struct protocol *p) break; if (findproto((char *)(ifam + 1), ifam->ifam_addrs) != AF_INET) break; - if (scripttime == 0 || t < scripttime + 3) + if (scripttime == 0 || t < scripttime + 10) break; goto die; case RTM_IFINFO: |