summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-05-30 00:36:28 +0200
committerDaniil Baturin <daniil@baturin.org>2018-05-30 00:36:28 +0200
commitde60b2979ab14cc2eab297472a57b83b32134285 (patch)
tree1790cb74cb678726997779cbe41c048c1e1d2d74 /src/conf_mode
parent737d72dc07e630231202fe1ae513c6195b6d250b (diff)
parent293b3ddd58d1d9bb7e98b3717cbe86f9b5d26d28 (diff)
downloadvyos-1x-de60b2979ab14cc2eab297472a57b83b32134285.tar.gz
vyos-1x-de60b2979ab14cc2eab297472a57b83b32134285.zip
Merge branch 'current' of github.com:vyos/vyos-1x into current
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/dns_forwarding.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/dns_forwarding.py b/src/conf_mode/dns_forwarding.py
index 1283d68b0..d28e8ff64 100755
--- a/src/conf_mode/dns_forwarding.py
+++ b/src/conf_mode/dns_forwarding.py
@@ -57,7 +57,7 @@ local-address={{ listen_on | join(',') }}
forward-zones={% for d in domains %}
{{ d.name }}={{ d.servers | join(";") }}
-{%- if loop.first %}, {% endif %}
+{{- "," if not loop.last -}}
{% endfor %}
{% endif %}