diff options
author | Ermal <eri@pfsense.org> | 2012-04-05 20:13:44 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-04-05 20:22:01 +0000 |
commit | 7b47bd4c3ce792e94eca430f22891eb1dd36bb3c (patch) | |
tree | 8c983217d31e50eda49d5622d30616d2bab91704 /etc/rc.filter_synchronize | |
parent | c1a104c7c8cc61d103fe6eba8dd98a071074b4ec (diff) | |
download | pfsense-7b47bd4c3ce792e94eca430f22891eb1dd36bb3c.zip pfsense-7b47bd4c3ce792e94eca430f22891eb1dd36bb3c.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 6caffe4..921ce08 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']); |