diff options
author | Christian Poessinger <christian@poessinger.com> | 2018-05-29 07:00:27 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2018-05-29 07:00:27 +0200 |
commit | d5816eb8d3f080a55f7efaf0cf3b24386e376e8c (patch) | |
tree | b7741c614002cd5e332a7f33452fbb0e491bd056 /src/conf_mode/dns_forwarding.py | |
parent | a331911473ddf3d9313a45a9cf126a4d1ead4753 (diff) | |
download | vyos-1x-d5816eb8d3f080a55f7efaf0cf3b24386e376e8c.tar.gz vyos-1x-d5816eb8d3f080a55f7efaf0cf3b24386e376e8c.zip |
T664: DNS forwarder config broken with more than 2 zones
Diffstat (limited to 'src/conf_mode/dns_forwarding.py')
-rwxr-xr-x | src/conf_mode/dns_forwarding.py | 2 |
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 %} |