From a0bc338338a4518fe45129a5b3160ebb13a809c4 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 17 Aug 2019 18:14:08 +0200 Subject: openvpn: T1548: fix generated topology statement for 'server point-to-point' --- src/conf_mode/interface-openvpn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/conf_mode/interface-openvpn.py') diff --git a/src/conf_mode/interface-openvpn.py b/src/conf_mode/interface-openvpn.py index 7057d3369..0d85d9643 100755 --- a/src/conf_mode/interface-openvpn.py +++ b/src/conf_mode/interface-openvpn.py @@ -104,7 +104,7 @@ keepalive {{ ping_interval }} {{ ping_restart }} management /tmp/openvpn-mgmt-intf unix {%- if server_topology %} -topology {% if 'site-to-site' in server_topology %}p2p{% else %}{{ server_topology }}{% endif %} +topology {% if 'point-to-point' in server_topology %}p2p{% else %}subnet{% endif %} {% endif %} {% for ns in server_dns_nameserver -%} -- cgit v1.2.3