Correctly format list of IPv4 routers

This commit is contained in:
Maciej Delmanowski 2015-03-29 23:36:45 +02:00
parent e2dde9fe01
commit 8504950c0c

View File

@ -77,7 +77,7 @@ subnet {{ subnet.subnet | ipaddr('cidr') | ipaddr('network') }} netmask {{ subne
{% if subnet.routers is string %} {% if subnet.routers is string %}
option routers {{ subnet.routers }}; option routers {{ subnet.routers }};
{% else %} {% else %}
option routers {{ subnet.routers | join(' ') }}; option routers {{ subnet.routers | join(', ') }};
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if subnet.options is defined and subnet.options %} {% if subnet.options is defined and subnet.options %}