summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-08-22 21:35:10 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-08-22 21:35:10 +0000
commitd614e0c582cf458295dff7b8756f0e9c57f85edb (patch)
tree88d90bd888f8ec9fd2331a45366bd1b563a00f84
parent6b64d4cdc014a0fbe141bd9edcf943af236d9897 (diff)
downloadpfsense-d614e0c582cf458295dff7b8756f0e9c57f85edb.zip
pfsense-d614e0c582cf458295dff7b8756f0e9c57f85edb.tar.gz
Correctly backup vip's for sync
-rw-r--r--etc/inc/pfsense-utils.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index a07d12c..6899b28 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -724,11 +724,11 @@ function backup_vip_config_section() {
global $config;
$new_section = &$config['virtualip'];
foreach($new_section as $section) {
- if($section['mode'] == "proxyarp") {
+ if($section['vip']['mode'] == "proxyarp") {
unset($section);
}
- if($section['advskew'] <> "") {
- $section['advskew']++;
+ if($section['vip']['advskew'] <> "") {
+ $section['vip']['advskew']++;
}
}
/* generate configuration XML */
OpenPOWER on IntegriCloud