summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-02-16 22:40:00 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-02-16 22:40:00 +0000
commit612b579a6de3dc36c21cb8119452dd6d4333db47 (patch)
tree0f84239820aa098109705887b7edc34b64dbbc4a
parent79ec2fe165526672a07a88a36d597ac06f682f45 (diff)
downloadpfsense-612b579a6de3dc36c21cb8119452dd6d4333db47.zip
pfsense-612b579a6de3dc36c21cb8119452dd6d4333db47.tar.gz
Do not destory CARP interface, simply delete it to avoid FreeBSD panics.
-rwxr-xr-xusr/local/www/carp_status.php2
1 files changed, 1 insertions, 1 deletions
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 {
OpenPOWER on IntegriCloud