summaryrefslogtreecommitdiff
path: root/data/templates/openvpn/server.conf.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-11-22 10:40:23 +0100
committerChristian Poessinger <christian@poessinger.com>2020-11-22 10:40:23 +0100
commit72cb73892b143e005a69320d096bfc25336f9680 (patch)
tree27180f1affe11c2c5c5390789019e5785a91c930 /data/templates/openvpn/server.conf.tmpl
parent4b219bbf1b3529ef285bb5b7bd3ff1292bfc9541 (diff)
downloadvyos-1x-72cb73892b143e005a69320d096bfc25336f9680.tar.gz
vyos-1x-72cb73892b143e005a69320d096bfc25336f9680.zip
openvpn: T3080: add missing multiplication on keepalive config option
Diffstat (limited to 'data/templates/openvpn/server.conf.tmpl')
-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 a2eb0b38b..ef1f235b0 100644
--- a/data/templates/openvpn/server.conf.tmpl
+++ b/data/templates/openvpn/server.conf.tmpl
@@ -94,7 +94,7 @@ max-clients {{ server.max_connections }}
client-config-dir /run/openvpn/ccd/{{ ifname }}
{% endif %}
{% endif %}
-keepalive {{ keep_alive.interval }} {{ keep_alive.failure_count }}
+keepalive {{ keep_alive.interval }} {{ keep_alive.interval|int * keep_alive.failure_count|int }}
management /run/openvpn/openvpn-mgmt-intf unix
{% if server is defined and server is not none %}
{% if server.reject_unconfigured_clients is defined %}