diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-08-17 18:14:08 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-08-17 18:14:08 +0200 |
commit | a0bc338338a4518fe45129a5b3160ebb13a809c4 (patch) | |
tree | 531cfa1f5c2744c34f1b6ea6d50ce522c60151fa /src | |
parent | 9597c6e9a1ed83cb6cca001ccc08ee743cce9d4c (diff) | |
download | vyos-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-x | src/conf_mode/interface-openvpn.py | 2 |
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 -%} |