From 566c0e4d31124967a03f7fc2262663964755a442 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 20 May 2007 04:47:32 +0000 Subject: 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. --- etc/inc/pfsense-utils.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/inc/pfsense-utils.inc') 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); -- cgit v1.1