summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-11-04 04:05:40 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-11-04 04:05:40 +0000
commita3553d1b558fa8be79d93d6c5e6ef77662ccef35 (patch)
tree5ad806a1c95c0ebc2a29cf1b1f8f218c5c43d4e3 /etc/inc/interfaces.inc
parentd6fcb946ee132b30943312321053b8ecf215e538 (diff)
downloadpfsense-a3553d1b558fa8be79d93d6c5e6ef77662ccef35.zip
pfsense-a3553d1b558fa8be79d93d6c5e6ef77662ccef35.tar.gz
Revert to old carp methods
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc9
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";
OpenPOWER on IntegriCloud