diff options
author | jim-p <jimp@netgate.com> | 2019-06-11 09:50:42 -0400 |
---|---|---|
committer | jim-p <jimp@netgate.com> | 2019-06-11 09:51:22 -0400 |
commit | b9e689cf5bc21fd7e19b1cde5bf38229b72dde2b (patch) | |
tree | e4a630af61d7fda4ba6bf20962f999eb7a346e54 | |
parent | 82887eb03ff3d3c83a3cc6295ad73214284329d0 (diff) | |
download | pfsense-b9e689cf5bc21fd7e19b1cde5bf38229b72dde2b.zip pfsense-b9e689cf5bc21fd7e19b1cde5bf38229b72dde2b.tar.gz |
Initialize VLAN array in console setup. Fixes #9582
(cherry picked from commit 45f95753963e497b5ce14493f9cca05336d75c7b)
-rw-r--r-- | src/etc/inc/config.console.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/config.console.inc b/src/etc/inc/config.console.inc index 0b769de..9666988 100644 --- a/src/etc/inc/config.console.inc +++ b/src/etc/inc/config.console.inc @@ -440,7 +440,7 @@ function vlan_setup() { } } - $config['vlans']['vlan'] = array(); + init_config_arr(array('vlans', 'vlan')); echo "\n"; $vlanif = 0; |