summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-05-20 23:40:44 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-05-20 23:40:44 +0000
commit4587cb54b789f4a1f524e23d5d75836eda576121 (patch)
tree01ad757cf766d6f67e5c43c803b4595b7fb32eff /etc
parent1332508351a9e6e42b3d297ec8ed34a3b3f19e64 (diff)
downloadpfsense-4587cb54b789f4a1f524e23d5d75836eda576121.zip
pfsense-4587cb54b789f4a1f524e23d5d75836eda576121.tar.gz
Do not destroy carp interface which can lead to a panic. This has been tested and works just fine after deleting and adding new carp interfaces.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pfsense-utils.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index bf53caa..3789d2e 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -776,8 +776,8 @@ function reset_carp() {
mwexec("/sbin/ifconfig carp{$x} delete");
if($needed_carp_interfaces < $carp_counter) {
$needed_carp_interfaces--;
- log_error("Destroying carp interface.");
- mwexec("/sbin/ifconfig carp{$x} destroy");
+ //log_error("Destroying carp interface.");
+ //mwexec("/sbin/ifconfig carp{$x} destroy");
}
}
find_number_of_created_carp_interfaces(true);
OpenPOWER on IntegriCloud