From 35fcfbbfe53085fabdcf2e4f48e46b6d8e163bc8 Mon Sep 17 00:00:00 2001 From: DmitriyEshenko Date: Mon, 21 Dec 2020 18:51:53 +0000 Subject: openvpn: T3143: Push routes in correct format --- data/templates/openvpn/server.conf.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/templates') diff --git a/data/templates/openvpn/server.conf.tmpl b/data/templates/openvpn/server.conf.tmpl index 9fc281afc..462d73c02 100644 --- a/data/templates/openvpn/server.conf.tmpl +++ b/data/templates/openvpn/server.conf.tmpl @@ -103,7 +103,7 @@ ccd-exclusive {% endif %} {% if server.push_route is defined and server.push_route is not none %} {% for route in server.push_route %} -push "route {{ route }}" +push "route {{ route | address_from_cidr }} {{ route | netmask_from_cidr }}" {% endfor %} {% endif %} {% if server.name_server is defined and server.name_server is not none %} -- cgit v1.2.3