Our ping doesn't have the ``-w'' option.

Submitted by:	Kevin Street <street@iname.com>
This commit is contained in:
David E. O'Brien 1999-03-30 21:21:23 +00:00
parent 5563ee5462
commit 3ab6b5e6f7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=45159

View file

@ -130,7 +130,7 @@ if [ x$reason = xTIMEOUT ]; then
sleep 1
if [ "$new_routers" != "" ]; then
set $new_routers
if ping -q -c 1 -w 1 $1; then
if ping -q -c 1 $1; then
if [ x$new_ip_address != x$alias_ip_address ] && \
[ x$alias_ip_address != x ]; then
ifconfig $interface inet alias $alias_ip_address $alias_subnet_arg