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
This commit is contained in:
Brooks Davis 2006-01-24 06:11:55 +00:00
parent e6bdc05ff7
commit b0864f3a7d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=154760

View File

@ -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