summaryrefslogtreecommitdiff
diff options
context:
space:
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..5b8724411 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 %}, {% endif %}
{% endfor %}
{% endif %}