summaryrefslogtreecommitdiffstats
path: root/usr/local/www/carp_status.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/carp_status.php')
-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