diff options
author | Ermal <eri@pfsense.org> | 2010-03-27 00:28:07 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-03-27 00:28:07 +0000 |
commit | 6a68854775c9cabe7839115ece7aad9cfcedb60a (patch) | |
tree | a31c4e94a84002c5ff5896f1df4ed5542d5d0b10 /etc/inc/upgrade_config.inc | |
parent | 65a82e32a8750980361f59ddf64b234599b5ab2b (diff) | |
download | pfsense-6a68854775c9cabe7839115ece7aad9cfcedb60a.zip pfsense-6a68854775c9cabe7839115ece7aad9cfcedb60a.tar.gz |
Make lan/wan behave as all other interfaces.
Diffstat (limited to 'etc/inc/upgrade_config.inc')
-rw-r--r-- | etc/inc/upgrade_config.inc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/inc/upgrade_config.inc b/etc/inc/upgrade_config.inc index 0b09b00..e3a650f 100644 --- a/etc/inc/upgrade_config.inc +++ b/etc/inc/upgrade_config.inc @@ -1851,6 +1851,13 @@ function upgrade_059_to_060() { } } +function upgrade_060_to_061() { + global $config; + if (is_array($config['interfaces']['wan'])) + $config['interfaces']['wan']['enable'] = true; + if (is_array($config['interfaces']['lan'])) + $config['interfaces']['lan']['enable'] = true; +} ?> |