summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-12-10 01:02:10 +0000
committerErmal <eri@pfsense.org>2010-12-10 01:02:10 +0000
commitbb92b70f9c49e47ed072f61294fc102121e2be0d (patch)
tree8841da8ea9ae3ffb818df58b37a610c58f8d0fcc /sbin
parent01b1cc6aff5bb50f969fc7fa7c763bfbfbc079d0 (diff)
downloadpfsense-bb92b70f9c49e47ed072f61294fc102121e2be0d.zip
pfsense-bb92b70f9c49e47ed072f61294fc102121e2be0d.tar.gz
Actually pass the right parameter!
Diffstat (limited to 'sbin')
-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