Skip to content
Snippets Groups Projects
Commit a456dd96 authored by Magnus Kroken's avatar Magnus Kroken Committed by Felix Fietkau
Browse files

openvpn: quote parameters to --push in openvpn config file


OpenVPN requires arguments to --push to be enclosed in double quotes.
One set of quotes is stripped when the UCI config is parsed.
Change append_params() of openvpn.init to enclose push parameters in
double quotes.

Unquoted push parameters do not cause errors in OpenVPN 2.3,
but OpenVPN 2.4 fails to start with unquoted push parameters.

Fixes: FS#290.

Signed-off-by: default avatarMagnus Kroken <mkroken@gmail.com>
parent 4b8c6925
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment