summaryrefslogtreecommitdiffstats
path: root/usr/local/www/carp_status.php
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-12-16 10:19:33 -0200
committerRenato Botelho <garga@FreeBSD.org>2014-12-16 10:19:33 -0200
commitdd0cb9fcf4428d8fdc0e6cd380ea2a5dff4e9114 (patch)
tree9e15fe205a454d9290da39135b331d890d6f0e41 /usr/local/www/carp_status.php
parent28268a4a4f1435adc9fb9c2f9b6839b89eb8724c (diff)
downloadpfsense-dd0cb9fcf4428d8fdc0e6cd380ea2a5dff4e9114.zip
pfsense-dd0cb9fcf4428d8fdc0e6cd380ea2a5dff4e9114.tar.gz
Cleanup aliases when temporarily disable CARP, fixes #4116
Diffstat (limited to 'usr/local/www/carp_status.php')
-rw-r--r--usr/local/www/carp_status.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/carp_status.php b/usr/local/www/carp_status.php
index 7fd6213..ea56e13 100644
--- a/usr/local/www/carp_status.php
+++ b/usr/local/www/carp_status.php
@@ -64,6 +64,7 @@ if($_POST['disablecarp'] <> "") {
switch ($vip['mode']) {
case "carp":
interface_vip_bring_down($vip);
+ interface_ipalias_cleanup("{$vip['interface']}_vip{$vip['vhid']}");
sleep(1);
break;
}
OpenPOWER on IntegriCloud