diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-05-21 00:15:50 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-05-21 00:15:50 +0000 |
commit | cf79d727cd54e5d2f2dd5d6d3cbab001b704f817 (patch) | |
tree | e776a4d55ddff24c2fbd44d5a555d12b1d6c742b | |
parent | 4587cb54b789f4a1f524e23d5d75836eda576121 (diff) | |
download | pfsense-cf79d727cd54e5d2f2dd5d6d3cbab001b704f817.zip pfsense-cf79d727cd54e5d2f2dd5d6d3cbab001b704f817.tar.gz |
usleep(1000); between down and delete. this appears to fix the carp issues.
-rw-r--r-- | etc/inc/pfsense-utils.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 3789d2e..2dcf1ef 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -773,6 +773,7 @@ function reset_carp() { mwexec("/sbin/sysctl net.inet.carp.allow=0"); for($x=0; $x<$carp_counter; $x++) { mwexec("/sbin/ifconfig carp{$x} down"); + usleep(1000); mwexec("/sbin/ifconfig carp{$x} delete"); if($needed_carp_interfaces < $carp_counter) { $needed_carp_interfaces--; |