Correctly format list of IPv4 routers
This commit is contained in:
parent
e2dde9fe01
commit
8504950c0c
@ -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 %}
|
||||||
|
Loading…
Reference in New Issue
Block a user