summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-08 17:55:45 +0200
committerGitHub <noreply@github.com>2020-04-08 17:55:45 +0200
commit53754fcbbf926eaa353e1cd5f12ad1faed668ac1 (patch)
tree901a1b681fec9c40823f177e6079221f832890fd /src
parentac1916e46707ebb8432f4719208684e6b44ca512 (diff)
parentef27cef024d11ab22ca455aa18ee8df690abe76b (diff)
downloadvyos-1x-53754fcbbf926eaa353e1cd5f12ad1faed668ac1.tar.gz
vyos-1x-53754fcbbf926eaa353e1cd5f12ad1faed668ac1.zip
Merge pull request #315 from jjakob/openvpn-template
openvpn: T2234: clean up and rework openvpn template
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/interfaces-openvpn.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conf_mode/interfaces-openvpn.py b/src/conf_mode/interfaces-openvpn.py
index e9b40bb38..f34e4f7fe 100755
--- a/src/conf_mode/interfaces-openvpn.py
+++ b/src/conf_mode/interfaces-openvpn.py
@@ -428,6 +428,7 @@ def get_config():
# Minimum required TLS version
if conf.exists('tls tls-version-min'):
openvpn['tls_version_min'] = conf.return_value('tls tls-version-min')
+ openvpn['tls'] = True
if conf.exists('shared-secret-key-file'):
openvpn['shared_secret_file'] = conf.return_value('shared-secret-key-file')