diff options
author | brooks <brooks@FreeBSD.org> | 2006-01-24 06:11:55 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2006-01-24 06:11:55 +0000 |
commit | 003b8b204ff22d9e793702fdd8b706c36303a21a (patch) | |
tree | bd420a96ce1e4b2df1fd90c2c96daf999a2f1362 /sbin | |
parent | edbd69603d7d233ee135ab48613ce8f41b4cf991 (diff) | |
download | FreeBSD-src-003b8b204ff22d9e793702fdd8b706c36303a21a.zip FreeBSD-src-003b8b204ff22d9e793702fdd8b706c36303a21a.tar.gz |
Give the TIMEOUT case a chance to work by using -t # instead of the
OpenBSD -w # when invoking ping.
PR: bin/92187
Submitted by: "Shin'ya Kumabuchi" <kumabu at t3 dot rim dot or dot jp>
MFC After: 6 days
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/dhclient/dhclient-script | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/dhclient/dhclient-script b/sbin/dhclient/dhclient-script index 9ba598c..da2a99b 100644 --- a/sbin/dhclient/dhclient-script +++ b/sbin/dhclient/dhclient-script @@ -276,7 +276,7 @@ TIMEOUT) if [ -n "$new_routers" ]; then $LOGGER "New Routers ($interface): $new_routers" set "$new_routers" - if ping -q -c 1 -w 1 "$1"; then + if ping -q -c 1 -t 1 "$1"; then if [ "$new_ip_address" != "$alias_ip_address" ]; then add_new_alias fi |