diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-22 21:35:10 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-22 21:35:10 +0000 |
commit | d614e0c582cf458295dff7b8756f0e9c57f85edb (patch) | |
tree | 88d90bd888f8ec9fd2331a45366bd1b563a00f84 /etc | |
parent | 6b64d4cdc014a0fbe141bd9edcf943af236d9897 (diff) | |
download | pfsense-d614e0c582cf458295dff7b8756f0e9c57f85edb.zip pfsense-d614e0c582cf458295dff7b8756f0e9c57f85edb.tar.gz |
Correctly backup vip's for sync
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 6 |
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 */ |