diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-11-04 04:05:40 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-11-04 04:05:40 +0000 |
commit | a3553d1b558fa8be79d93d6c5e6ef77662ccef35 (patch) | |
tree | 5ad806a1c95c0ebc2a29cf1b1f8f218c5c43d4e3 /etc/inc | |
parent | d6fcb946ee132b30943312321053b8ecf215e538 (diff) | |
download | pfsense-a3553d1b558fa8be79d93d6c5e6ef77662ccef35.zip pfsense-a3553d1b558fa8be79d93d6c5e6ef77662ccef35.tar.gz |
Revert to old carp methods
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/interfaces.inc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 41fede1..2f5f8e7 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -428,15 +428,6 @@ function interfaces_carp_bring_up_final() { if(!is_array($viparr)) return; $carp_instances_counter = 0; - $counter = 0; - $supress = intval(`sysctl net.inet.carp.suppress_preempt | cut -d" " -f2`); - while($supress > 0) { - sleep(2); - $supress = intval(`sysctl net.inet.carp.suppress_preempt | cut -d" " -f2`); - if($counter > 15) - $supress = 0; - } - sleep(15); foreach ($viparr as $vip) { if($debugging) echo "Upping interface carp{$carp_instances_counter}.\n"; |