summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim Hagen <kim@sentrium.io>2021-08-11 04:06:19 -0500
committerKim Hagen <kim@sentrium.io>2021-08-11 04:06:19 -0500
commit415e572dfba776a981e2ec1e4331c30cd5cb59f3 (patch)
treed5eb0ae967faf72e83f1b3304b61930347135681
parentb6427a12cc796ba6919db7cafeeb5fc8e193b352 (diff)
downloadvyos-1x-415e572dfba776a981e2ec1e4331c30cd5cb59f3.tar.gz
vyos-1x-415e572dfba776a981e2ec1e4331c30cd5cb59f3.zip
openvpn: T3736: openvpn-option keeps and adds double dashes (--)
-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 d9f01310e..0968a18ba 100644
--- a/data/templates/openvpn/server.conf.tmpl
+++ b/data/templates/openvpn/server.conf.tmpl
@@ -225,7 +225,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 %}