summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorKim Hagen <kim@sentrium.io>2021-09-17 05:18:53 -0500
committerKim Hagen <kim@sentrium.io>2021-09-17 05:18:53 -0500
commiteb7f8904076e749e18c10b6374bf363dfa009c19 (patch)
treeb0f2b574c941c20e8a292cb0727eab8d21239071 /data
parent024839cb1588964da46f198976053b7d78b8e9a0 (diff)
downloadvyos-1x-eb7f8904076e749e18c10b6374bf363dfa009c19.tar.gz
vyos-1x-eb7f8904076e749e18c10b6374bf363dfa009c19.zip
Revert "openvpn: T3736: openvpn-option keeps and adds double dashes (--)"
This reverts commit 415e572dfba776a981e2ec1e4331c30cd5cb59f3.
Diffstat (limited to 'data')
-rw-r--r--data/templates/openvpn/server.conf.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/openvpn/server.conf.tmpl b/data/templates/openvpn/server.conf.tmpl
index b53361710..644eb805f 100644
--- a/data/templates/openvpn/server.conf.tmpl
+++ b/data/templates/openvpn/server.conf.tmpl
@@ -235,7 +235,7 @@ auth-retry nointeract
{% for option in openvpn_option %}
{% for argument in option.split('--') %}
{% if argument is defined and argument != '' %}
-{{ argument }}
+--{{ argument }}
{% endif %}
{% endfor %}
{% endfor %}