From 8504950c0c87e9ed494e0a09ec463be32fb00eb7 Mon Sep 17 00:00:00 2001 From: Maciej Delmanowski Date: Sun, 29 Mar 2015 23:36:45 +0200 Subject: [PATCH] Correctly format list of IPv4 routers --- templates/etc/dhcp/macros.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/etc/dhcp/macros.j2 b/templates/etc/dhcp/macros.j2 index 096cb12..6fa05cf 100644 --- a/templates/etc/dhcp/macros.j2 +++ b/templates/etc/dhcp/macros.j2 @@ -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 %}