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:
parent
e6bdc05ff7
commit
b0864f3a7d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user