summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 %}