summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorfett0 <fernando.gmaidana@gmail.com>2024-08-02 14:10:51 +0000
committerfett0 <fernando.gmaidana@gmail.com>2024-08-02 14:10:51 +0000
commitd5ae708581d453e2205ad4cf8576503f42e262b6 (patch)
treee8c696f1fcb5e0b005c837d23fb780bbd768a090 /data
parent4acad3eb8d9be173b76fecafc32b0c70eae9b192 (diff)
downloadvyos-1x-d5ae708581d453e2205ad4cf8576503f42e262b6.tar.gz
vyos-1x-d5ae708581d453e2205ad4cf8576503f42e262b6.zip
OPENVPN: T6555: fix name to bridge
Diffstat (limited to 'data')
-rw-r--r--data/templates/openvpn/server.conf.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/openvpn/server.conf.j2 b/data/templates/openvpn/server.conf.j2
index a8674ec35..408103558 100644
--- a/data/templates/openvpn/server.conf.j2
+++ b/data/templates/openvpn/server.conf.j2
@@ -90,8 +90,8 @@ server-ipv6 {{ subnet }}
{% endif %}
{% endfor %}
{% endif %}
-{% if server.server_bridge is vyos_defined and server.server_bridge.disable is not vyos_defined %}
-server-bridge {{ server.server_bridge.gateway }} {{ server.server_bridge.subnet_mask }} {{ server.server_bridge.start }} {{ server.server_bridge.stop if server.server_bridge.stop is vyos_defined }}
+{% if server.bridge is vyos_defined and server.bridge.disable is not vyos_defined %}
+server-bridge {{ server.bridge.gateway }} {{ server.bridge.subnet_mask }} {{ server.bridge.start }} {{ server.bridge.stop if server.bridge.stop is vyos_defined }}
{% 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 }}