Allow localhost IP Alias VIPs to sync, too

This commit is contained in:
jim-p 2013-06-06 13:54:12 -04:00
parent 56bf3ef146
commit 39b84ccc7f

View File

@ -55,7 +55,7 @@ function backup_vip_config_section() {
$temp = array();
$temp['vip'] = array();
foreach($config['virtualip']['vip'] as $section) {
if(($section['mode'] == "proxyarp" || $section['mode'] == "ipalias") && !strstr($section['interface'], "_vip"))
if(($section['mode'] == "proxyarp" || $section['mode'] == "ipalias") && !(strstr($section['interface'], "_vip") || strstr($section['interface'], "lo0")))
continue;
if($section['advskew'] <> "") {
$section_val = intval($section['advskew']);