diff options
author | Ermal <eri@pfsense.org> | 2010-03-18 17:20:56 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-03-18 17:20:56 +0000 |
commit | 979fb4197873364a1d12cee8d694ebdbb3f0cda3 (patch) | |
tree | b280927c55df99451deb57a9602ed7191c4da384 /usr | |
parent | 8eae944eb52b247e4fadd2de3fa5bd614501b59d (diff) | |
download | pfsense-979fb4197873364a1d12cee8d694ebdbb3f0cda3.zip pfsense-979fb4197873364a1d12cee8d694ebdbb3f0cda3.tar.gz |
Correctly show cipher list
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/wizards/openvpn_wizard.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/wizards/openvpn_wizard.inc b/usr/local/www/wizards/openvpn_wizard.inc index 48eb7be..4c342ba 100644 --- a/usr/local/www/wizards/openvpn_wizard.inc +++ b/usr/local/www/wizards/openvpn_wizard.inc @@ -247,11 +247,12 @@ function step10_stepbeforeformdisplay() { if ($field['name'] == "crypto") { $pkg['step'][$stepid]['fields']['field'][$idx]['options']['option'] = array(); $cipherlist = openvpn_get_cipherlist(); - foreach ($cipherlist as $name => $desc) + foreach ($cipherlist as $name => $desc) { $opt = array(); $opt['name'] = $desc; $opt['value'] = $name; $pkg['step'][$stepid]['fields']['field'][$idx]['options']['option'][] = $opt; + } } else if ($field['name'] == "nbttype") { $pkg['step'][$stepid]['fields']['field'][$idx]['options']['option'] = array(); foreach ($netbios_nodetypes as $type => $name) { |