From 10a23cd803c0784cbdd80daff6750f02c982df4f Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 6 Nov 2020 18:44:55 +0100 Subject: openvpn: T3051: fix multiple pushed routes to preconfigured clients --- data/templates/openvpn/client.conf.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data') 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 %} -- cgit v1.2.3