diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-11-09 02:38:28 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-11-09 02:38:28 +0000 |
commit | 7caa240ea46bdc8a3223a360f80020dba8bdceb7 (patch) | |
tree | 223e4b86cef6d30fe4577a8d84bc6654d0c318e7 /etc/inc/interfaces.inc | |
parent | ef0a51fd0148771fbf0ab99c3f853040c922b19b (diff) | |
download | pfsense-7caa240ea46bdc8a3223a360f80020dba8bdceb7.zip pfsense-7caa240ea46bdc8a3223a360f80020dba8bdceb7.tar.gz |
usleep instead of sleep
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r-- | etc/inc/interfaces.inc | 2 |
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++; } |