summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-07-13 23:46:07 +0000
committerBill Marquette <billm@pfsense.org>2005-07-13 23:46:07 +0000
commitc153d430150e3dc7f3c001f8d186756fb7f669e1 (patch)
treee3a81857fd6114d1bb4aaf287ce3c89df77141ee /etc
parent3ed25eabc9803faedb244be729c54909f448bf69 (diff)
downloadpfsense-c153d430150e3dc7f3c001f8d186756fb7f669e1.zip
pfsense-c153d430150e3dc7f3c001f8d186756fb7f669e1.tar.gz
when upgrading use old netmask
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/config.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index 1210d5a..2869215 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -639,7 +639,7 @@ function convert_config() {
$vip['advskew'] = $carpent['advskew'];
$vip['password'] = $carpent['password'];
$vip['subnet'] = $carpent['ipaddress'];
- $vip['subnet_bits'] = "32";
+ $vip['subnet_bits'] = $carpent['netmask'];
$config['virtualip']['vip'][] = $vip;
}
unset($config['installedpackages']['carp']);
OpenPOWER on IntegriCloud