summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-11-06 18:44:55 +0100
committerChristian Poessinger <christian@poessinger.com>2020-11-06 18:44:55 +0100
commit10a23cd803c0784cbdd80daff6750f02c982df4f (patch)
tree2490d195c8f6407a37f8f9326c24132361f8bb64 /data
parente64b4ad6909bedad8aa72c25b0c0615e4f4046f9 (diff)
downloadvyos-1x-10a23cd803c0784cbdd80daff6750f02c982df4f.tar.gz
vyos-1x-10a23cd803c0784cbdd80daff6750f02c982df4f.zip
openvpn: T3051: fix multiple pushed routes to preconfigured clients
Diffstat (limited to 'data')
-rw-r--r--data/templates/openvpn/client.conf.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/openvpn/client.conf.tmpl b/data/templates/openvpn/client.conf.tmpl
index b57c45ce5..fd3d3e68d 100644
--- a/data/templates/openvpn/client.conf.tmpl
+++ b/data/templates/openvpn/client.conf.tmpl
@@ -1,7 +1,7 @@
### Autogenerated by interfaces-openvpn.py ###
{% if ip %}
-ifconfig-push {{ ip[0] }} {{ subnet[0] | netmask_from_cidr }}
+ifconfig-push {{ ip[0] }} {{ server_subnet[0] | netmask_from_cidr }}
{% endif %}
{% if push_route is defined and push_route is not none %}
{% for route in push_route %}