summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2018-05-29 20:03:49 +0200
committerChristian Poessinger <christian@poessinger.com>2018-05-29 20:03:49 +0200
commit293b3ddd58d1d9bb7e98b3717cbe86f9b5d26d28 (patch)
tree183ff642a1aea019aa502fdf0aece2f5c6ddc4bb /src/conf_mode
parentd5816eb8d3f080a55f7efaf0cf3b24386e376e8c (diff)
downloadvyos-1x-293b3ddd58d1d9bb7e98b3717cbe86f9b5d26d28.tar.gz
vyos-1x-293b3ddd58d1d9bb7e98b3717cbe86f9b5d26d28.zip
dns_forwarding.py: use a more fancy jinja2 syntax for delimiters
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 5b8724411..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 not loop.last %}, {% endif %}
+{{- "," if not loop.last -}}
{% endfor %}
{% endif %}