From 2a834dcd89e6e86446743680469c8fef9ca936fc Mon Sep 17 00:00:00 2001 From: Ermal Date: Tue, 7 Dec 2010 23:59:34 +0000 Subject: [PATCH] Adjust even advbase while synching. This should be params though. --- etc/rc.filter_synchronize | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/etc/rc.filter_synchronize b/etc/rc.filter_synchronize index cd60e91e9f..36567f7a57 100755 --- a/etc/rc.filter_synchronize +++ b/etc/rc.filter_synchronize @@ -64,6 +64,13 @@ function backup_vip_config_section() { $section_val = 255; $section['advskew'] = $section_val; } + if($section['advbase'] <> "") { + $section_val = intval($section['advbase']); + $section_val=$section_val+1; + if($section_val > 255) + $section_val = 255; + $section['advbase'] = $section_val; + } $temp['vip'][] = $section; } return $temp;