diff options
author | jim-p <jimp@pfsense.org> | 2016-12-13 14:25:17 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2016-12-13 14:25:17 -0500 |
commit | 5fda51cd2af8a099b89f35439343744dbe981fa1 (patch) | |
tree | 6f4056a6c1b371bc8031f5f3e0febde2758edc7b /src/usr | |
parent | cc9213e0bc41942a300ab246bae2ca3312f046fe (diff) | |
download | pfsense-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.php | 5 |
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'] . |