summaryrefslogtreecommitdiffstats
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:22:01 -0200
commit936e554bab69b0f6b1eb53cae807e3f2fafa3e73 (patch)
tree640166e528046425d1b4b5fdf6a4022963389c04
parent43157c8f7d289749c8a87a4b4f95b8f981b06f86 (diff)
downloadpfsense-936e554bab69b0f6b1eb53cae807e3f2fafa3e73.zip
pfsense-936e554bab69b0f6b1eb53cae807e3f2fafa3e73.tar.gz
Cleanup aliases when temporarily disable CARP, fixes #4116
-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