summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-11-09 02:38:28 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-11-09 02:38:28 +0000
commit7caa240ea46bdc8a3223a360f80020dba8bdceb7 (patch)
tree223e4b86cef6d30fe4577a8d84bc6654d0c318e7 /etc/inc/interfaces.inc
parentef0a51fd0148771fbf0ab99c3f853040c922b19b (diff)
downloadpfsense-7caa240ea46bdc8a3223a360f80020dba8bdceb7.zip
pfsense-7caa240ea46bdc8a3223a360f80020dba8bdceb7.tar.gz
usleep instead of sleep
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index c52aa65..1862b3f 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -538,7 +538,7 @@ function interfaces_carp_bring_up_final() {
if($debugging)
echo "/sbin/ifconfig carp" . $carp_instances_counter . " " . $vip['subnet'] . "/" . $vip['subnet_bits'] . " broadcast " . $broadcast_address . " vhid " . $vip['vhid'] . "{$carpdev} advskew " . $vip['advskew'] . $password . "\n";
mwexec("/sbin/ifconfig carp" . $carp_instances_counter . " " . $vip['subnet'] . "/" . $vip['subnet_bits'] . " broadcast " . $broadcast_address . " vhid " . $vip['vhid'] . "{$carpdev} advskew " . $vip['advskew'] . $password);
- sleep(1);
+ usleep(100);
mwexec("/sbin/ifconfig carp" . $carp_instances_counter . " up");
$carp_instances_counter++;
}
OpenPOWER on IntegriCloud