summaryrefslogtreecommitdiff
path: root/data/templates/openvpn/server.conf.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-11-01 16:29:07 +0100
committerGitHub <noreply@github.com>2021-11-01 16:29:07 +0100
commitf52ca36b3746ad7e2ce8d6e57d432b5b2cd9d6cc (patch)
treea0ea609a933a4d2e54d5712e2b1671a19181c372 /data/templates/openvpn/server.conf.tmpl
parent85bf315f71b411e3cdcd19793c4f7e1e5efed917 (diff)
parent1b7c879b9fed2f4563477039bc6ddf4dc0db5829 (diff)
downloadvyos-1x-f52ca36b3746ad7e2ce8d6e57d432b5b2cd9d6cc.tar.gz
vyos-1x-f52ca36b3746ad7e2ce8d6e57d432b5b2cd9d6cc.zip
Merge pull request #1021 from zdc/T3350-sagitta
OpenVPN: T3350: Changed custom options for OpenVPN processing
Diffstat (limited to 'data/templates/openvpn/server.conf.tmpl')
-rw-r--r--data/templates/openvpn/server.conf.tmpl13
1 files changed, 0 insertions, 13 deletions
diff --git a/data/templates/openvpn/server.conf.tmpl b/data/templates/openvpn/server.conf.tmpl
index bc2790965..7a0470d0e 100644
--- a/data/templates/openvpn/server.conf.tmpl
+++ b/data/templates/openvpn/server.conf.tmpl
@@ -224,16 +224,3 @@ auth {{ hash }}
auth-user-pass {{ auth_user_pass_file }}
auth-retry nointeract
{% endif %}
-
-{% if openvpn_option is defined and openvpn_option is not none %}
-#
-# Custom options added by user (not validated)
-#
-{% for option in openvpn_option %}
-{% for argument in option.split('--') %}
-{% if argument is defined and argument != '' %}
---{{ argument }}
-{% endif %}
-{% endfor %}
-{% endfor %}
-{% endif %}