summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorpierrepomes <pierre.pomes@interface-tech.com>2010-09-26 16:05:03 -0400
committerpierrepomes <pierre.pomes@interface-tech.com>2010-09-26 16:05:03 -0400
commit7eab33095e8f2293a43ec03c7c6bf002c084bdb2 (patch)
treee1265ec9fcd6a73be4a22db272ca260880fde52d /etc
parentf44f8eb57c6f5e44ccb1f04481923d8220e9ae23 (diff)
downloadpfsense-7eab33095e8f2293a43ec03c7c6bf002c084bdb2.zip
pfsense-7eab33095e8f2293a43ec03c7c6bf002c084bdb2.tar.gz
Do not synchronize ip alias. Ticket #882
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.filter_synchronize6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/rc.filter_synchronize b/etc/rc.filter_synchronize
index b8ab26a..5182f30 100755
--- a/etc/rc.filter_synchronize
+++ b/etc/rc.filter_synchronize
@@ -134,7 +134,9 @@ function carp_sync_xml($url, $password, $sections, $port = 80, $method = 'pfsens
$vipcnt = count($config_copy['virtualip']['vip']);
for ($x = 0; $x < $vipcnt; $x++) {
$config_copy['virtualip']['vip'][$x]['descr'] = remove_special_characters($config_copy['virtualip']['vip'][$x]['descr']);
- if (isset ($config_copy['virtualip']['vip'][$x]['nosync']) or $config_copy['virtualip']['vip'][$x]['mode'] == "proxyarp")
+ if (isset ($config_copy['virtualip']['vip'][$x]['nosync']) or
+ $config_copy['virtualip']['vip'][$x]['mode'] == "proxyarp" or
+ $config_copy['virtualip']['vip'][$x]['mode'] == "ipalias")
unset ($config_copy['virtualip']['vip'][$x]);
}
}
@@ -322,4 +324,4 @@ if (is_array($config['installedpackages']['carpsettings']['config'])) {
}
}
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud