diff options
author | DmitriyEshenko <dmitriy.eshenko@vyos.io> | 2020-12-21 18:51:53 +0000 |
---|---|---|
committer | DmitriyEshenko <dmitriy.eshenko@vyos.io> | 2020-12-21 18:51:53 +0000 |
commit | 35fcfbbfe53085fabdcf2e4f48e46b6d8e163bc8 (patch) | |
tree | 840e65277f0e699f8c98509d4990cd7590714952 /data/templates | |
parent | 3a795c8d0dcf42a6daf4ecc6a2a5d8281bf5e999 (diff) | |
download | vyos-1x-35fcfbbfe53085fabdcf2e4f48e46b6d8e163bc8.tar.gz vyos-1x-35fcfbbfe53085fabdcf2e4f48e46b6d8e163bc8.zip |
openvpn: T3143: Push routes in correct format <IP> <NETMASK>
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/openvpn/server.conf.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
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 %} |