Skip to content
Snippets Groups Projects
Commit d80763f9 authored by Matt Merhar's avatar Matt Merhar Committed by Jonas Höglund
Browse files

openvpn: fix handling of list options


This addresses an issue where the list option specified in
/etc/config/openvpn i.e. 'tls_cipher' would instead show up in the
generated openvpn-<name>.conf as 'ncp-ciphers'. For context,
'ncp_ciphers' appears after 'tls_cipher' in OPENVPN_LIST from
openvpn.options.

Also, the ordering of the options in the UCI config file is now
preserved when generating the OpenVPN config. The two currently
supported list options deal with cipher preferences.

Signed-off-by: default avatarMatt Merhar <mattmerhar@protonmail.com>
(cherry picked from commit 1d4c4cbd)
parent 7f2332a9
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment