summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2016-12-13 14:25:17 -0500
committerjim-p <jimp@pfsense.org>2016-12-13 14:25:17 -0500
commit5fda51cd2af8a099b89f35439343744dbe981fa1 (patch)
tree6f4056a6c1b371bc8031f5f3e0febde2758edc7b /src/usr
parentcc9213e0bc41942a300ab246bae2ca3312f046fe (diff)
downloadpfsense-5fda51cd2af8a099b89f35439343744dbe981fa1.zip
pfsense-5fda51cd2af8a099b89f35439343744dbe981fa1.tar.gz
Check for lo0 when reconfiguring VIPs on sync. Fixes #7010
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/local/www/xmlrpc.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/usr/local/www/xmlrpc.php b/src/usr/local/www/xmlrpc.php
index 51ce9cf..24ba044 100644
--- a/src/usr/local/www/xmlrpc.php
+++ b/src/usr/local/www/xmlrpc.php
@@ -322,10 +322,11 @@ class pfsense_xmlrpc_server {
*/
continue;
}
+
} elseif ($vip['mode'] == "ipalias" &&
- strstr($vip['interface'], "_vip") &&
+ (substr($vip['interface'], 0, 4) == '_vip'
+ || strstr($vip['interface'], "lo0")) &&
isset($oldvips[$vip['subnet']])) {
-
$key = $vip['subnet'];
if ($oldvips[$key]['content'] ==
$vip['interface'] .
OpenPOWER on IntegriCloud