diff options
author | Ermal <eri@pfsense.org> | 2012-04-05 20:13:44 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-04-05 20:13:44 +0000 |
commit | 4d0c032c528b10221a2ef894b5eca34f6fda39a7 (patch) | |
tree | cc1e981428b5898366c14be962fa4b442bbe82bb /etc/rc.filter_synchronize | |
parent | da664d195d9949c3c83be3a4fdc49bf42c40dc38 (diff) | |
download | pfsense-4d0c032c528b10221a2ef894b5eca34f6fda39a7.zip pfsense-4d0c032c528b10221a2ef894b5eca34f6fda39a7.tar.gz |
Make vips vhid be unique per parent interface!
Diffstat (limited to 'etc/rc.filter_synchronize')
-rwxr-xr-x | etc/rc.filter_synchronize | 2 |
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']); |