Adjust even advbase while synching. This should be params though.

This commit is contained in:
Ermal 2010-12-07 23:59:34 +00:00
parent 6f247d1f76
commit 2a834dcd89

View File

@ -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;