summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsbin/dhclient-script2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/dhclient-script b/sbin/dhclient-script
index 40490aa..ee98fa0 100755
--- a/sbin/dhclient-script
+++ b/sbin/dhclient-script
@@ -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
OpenPOWER on IntegriCloud