From 612b579a6de3dc36c21cb8119452dd6d4333db47 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 16 Feb 2008 22:40:00 +0000 Subject: Do not destory CARP interface, simply delete it to avoid FreeBSD panics. --- usr/local/www/carp_status.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/www/carp_status.php b/usr/local/www/carp_status.php index 18b8ede..6db3d6f 100755 --- a/usr/local/www/carp_status.php +++ b/usr/local/www/carp_status.php @@ -46,7 +46,7 @@ if($_POST['disablecarp'] <> "") { mwexec("/sbin/sysctl net.inet.carp.allow=0"); for($x=0; $x<$carp_counter; $x++) { mwexec("/sbin/ifconfig carp{$x} down"); - mwexec("/sbin/ifconfig carp{$x} destroy"); + mwexec("/sbin/ifconfig carp{$x} delete"); } $savemsg = "{$carp_counter} IPs have been disabled."; } else { -- cgit v1.1