summaryrefslogtreecommitdiffstats
path: root/etc/rc.filter_synchronize
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-04-05 20:13:44 +0000
committerErmal <eri@pfsense.org>2012-04-05 20:13:44 +0000
commit4d0c032c528b10221a2ef894b5eca34f6fda39a7 (patch)
treecc1e981428b5898366c14be962fa4b442bbe82bb /etc/rc.filter_synchronize
parentda664d195d9949c3c83be3a4fdc49bf42c40dc38 (diff)
downloadpfsense-4d0c032c528b10221a2ef894b5eca34f6fda39a7.zip
pfsense-4d0c032c528b10221a2ef894b5eca34f6fda39a7.tar.gz
Make vips vhid be unique per parent interface!
Diffstat (limited to 'etc/rc.filter_synchronize')
-rwxr-xr-xetc/rc.filter_synchronize2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.filter_synchronize b/etc/rc.filter_synchronize
index b98b683..f85d8b3 100755
--- a/etc/rc.filter_synchronize
+++ b/etc/rc.filter_synchronize
@@ -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") && substr($section['interface'],0,3) != "vip")
+ if(($section['mode'] == "proxyarp" || $section['mode'] == "ipalias") && !strstr($section['interface'], "_vip")
continue;
if($section['advskew'] <> "") {
$section_val = intval($section['advskew']);
OpenPOWER on IntegriCloud