summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-05-20 04:47:32 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-05-20 04:47:32 +0000
commit566c0e4d31124967a03f7fc2262663964755a442 (patch)
tree75044c65025cef35edbdb7f3035ccca8ee784758 /etc
parent9f4c3f9e44fae116f4457fdca018b8ef17f9068a (diff)
downloadpfsense-566c0e4d31124967a03f7fc2262663964755a442.zip
pfsense-566c0e4d31124967a03f7fc2262663964755a442.tar.gz
Work around a FreeBSD where 2 carp interfaces exist and you delete 1. This ends up panicing the kernel. This is fixed in 7 so this will not be needed much longer.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pfsense-utils.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 077f813..92e454f 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -783,7 +783,7 @@ function reset_carp() {
if($needed_carp_interfaces < $carp_counter) {
$needed_carp_interfaces--;
log_error("Destroying carp interface.");
- mwexec("/sbin/ifconfig carp{$x} destroy");
+ //mwexec("/sbin/ifconfig carp{$x} destroy");
}
}
find_number_of_created_carp_interfaces(true);
OpenPOWER on IntegriCloud