diff options
author | Nicolas Riebesel <nagua@users.noreply.github.com> | 2023-04-22 14:48:17 +0200 |
---|---|---|
committer | Nicolas Riebesel <nicolas.riebesel@gmx.com> | 2023-04-24 00:05:49 +0200 |
commit | c60e364c9c8267e2e2b3598a8eec5633f9fa78f9 (patch) | |
tree | 73df6b43b4b5cddcf86c91ba7dee71fc5721f4a8 /data/templates/openvpn/server.conf.j2 | |
parent | c907058015293947fb60231fed1df55e7969e85f (diff) | |
download | vyos-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/openvpn/server.conf.j2')
-rw-r--r-- | data/templates/openvpn/server.conf.j2 | 2 |
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 }} |