Actually pass the right parameter!

This commit is contained in:
Ermal 2010-12-10 01:02:10 +00:00
parent 01b1cc6aff
commit bb92b70f9c

View File

@ -334,7 +334,7 @@ TIMEOUT)
if [ -n "$new_routers" ]; then
$LOGGER "New Routers ($interface): $new_routers"
set "$new_routers"
if /sbin/ping -q -c 1 -w 1 "$1"; then
if /sbin/ping -q -c 1 -t 1 "$1"; then
if [ "$new_ip_address" != "$alias_ip_address" ]; then
add_new_alias
fi