summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-08-17 18:14:08 +0200
committerChristian Poessinger <christian@poessinger.com>2019-08-17 18:14:08 +0200
commita0bc338338a4518fe45129a5b3160ebb13a809c4 (patch)
tree531cfa1f5c2744c34f1b6ea6d50ce522c60151fa /src
parent9597c6e9a1ed83cb6cca001ccc08ee743cce9d4c (diff)
downloadvyos-1x-a0bc338338a4518fe45129a5b3160ebb13a809c4.tar.gz
vyos-1x-a0bc338338a4518fe45129a5b3160ebb13a809c4.zip
openvpn: T1548: fix generated topology statement for 'server point-to-point'
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/interface-openvpn.py2
1 files changed, 1 insertions, 1 deletions
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 -%}