From 4587cb54b789f4a1f524e23d5d75836eda576121 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 20 May 2007 23:40:44 +0000 Subject: 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. --- etc/inc/pfsense-utils.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc/inc/pfsense-utils.inc') 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); -- cgit v1.1