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 %}
|
||||
option routers {{ subnet.routers }};
|
||||
{% else %}
|
||||
option routers {{ subnet.routers | join(' ') }};
|
||||
option routers {{ subnet.routers | join(', ') }};
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if subnet.options is defined and subnet.options %}
|
||||
|
Loading…
Reference in New Issue
Block a user