summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-11-11 19:49:11 (GMT)
committerErmal <eri@pfsense.org>2014-11-11 19:49:11 (GMT)
commit1f2f38f5097a982a5432f7b6ba5ce3bd2115cfbb (patch)
tree8a04bfe785177c9d398d373e564e51bfca1d50f6
parent94115b931349c4c2dbaff080842bcdbe60ed94b7 (diff)
downloadunivnautes-1f2f38f5097a982a5432f7b6ba5ce3bd2115cfbb.zip
univnautes-1f2f38f5097a982a5432f7b6ba5ce3bd2115cfbb.tar.gz
univnautes-1f2f38f5097a982a5432f7b6ba5ce3bd2115cfbb.tar.bz2
Ticket #3967 also sync other vip types that can be synched.
-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 ccb745c..9c650c0 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'] != "carp")
+ if (($section['mode'] == 'proxyarp' || $section['mode'] == 'ipalias') && !(strpos($section['interface'], '_vip') || strpos($section['interface'], 'lo0')))
continue;
if ($section['advskew'] <> "") {
$section_val = intval($section['advskew']);