summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorNicolas Riebesel <nagua@users.noreply.github.com>2023-04-22 14:48:17 +0200
committerNicolas Riebesel <nicolas.riebesel@gmx.com>2023-04-24 00:05:49 +0200
commitc60e364c9c8267e2e2b3598a8eec5633f9fa78f9 (patch)
tree73df6b43b4b5cddcf86c91ba7dee71fc5721f4a8 /data/templates
parentc907058015293947fb60231fed1df55e7969e85f (diff)
downloadvyos-1x-c60e364c9c8267e2e2b3598a8eec5633f9fa78f9.tar.gz
vyos-1x-c60e364c9c8267e2e2b3598a8eec5633f9fa78f9.zip
OpenVPN: T4402: Update OpenVPN server.conf.j2 template
The ifconfig-pool command requires the arguments separated by a space. Hence the space was added before the subnet mask.
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/openvpn/server.conf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/openvpn/server.conf.j2 b/data/templates/openvpn/server.conf.j2
index af866f2a6..6332ed9c2 100644
--- a/data/templates/openvpn/server.conf.j2
+++ b/data/templates/openvpn/server.conf.j2
@@ -98,7 +98,7 @@ server-ipv6 {{ subnet }}
{% endif %}
{% if server.client_ip_pool is vyos_defined and server.client_ip_pool.disable is not vyos_defined %}
-ifconfig-pool {{ server.client_ip_pool.start }} {{ server.client_ip_pool.stop }}{{ server.client_ip_pool.subnet_mask if server.client_ip_pool.subnet_mask is vyos_defined }}
+ifconfig-pool {{ server.client_ip_pool.start }} {{ server.client_ip_pool.stop }} {{ server.client_ip_pool.subnet_mask if server.client_ip_pool.subnet_mask is vyos_defined }}
{% endif %}
{% if server.max_connections is vyos_defined %}
max-clients {{ server.max_connections }}