diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-11-08 18:34:24 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-11-09 15:17:59 +0100 |
commit | fc93243324fa99a3d56003a7dbdfab3bda8918c9 (patch) | |
tree | 7d3f178fc54f1c13cc3d00dacc30b5733426af86 | |
parent | 25ffe3c8249f5977ca93ef2551c954d043d44bb0 (diff) | |
download | vyos-1x-fc93243324fa99a3d56003a7dbdfab3bda8918c9.tar.gz vyos-1x-fc93243324fa99a3d56003a7dbdfab3bda8918c9.zip |
ddclient: T1789: fix RFC2136 generated config
Commit 967067970494c1800f ("ddclient: T1030: adjust to latest syntax")
was under the impression that ddclient 3.9.0 now handles every config
item with a comma in the end. This is unfortunately not true on RFC2136
dynamic DNS entries.
Remove commas on config template.
(cherry picked from commit cc2ea329b1bb2ac23ffcc64892e831e7978023e2)
-rwxr-xr-x | src/conf_mode/dynamic_dns.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/conf_mode/dynamic_dns.py b/src/conf_mode/dynamic_dns.py index 027a7f7e3..7c3b9ff6a 100755 --- a/src/conf_mode/dynamic_dns.py +++ b/src/conf_mode/dynamic_dns.py @@ -47,11 +47,11 @@ use=if, if={{ interface.interface }} {% for rfc in interface.rfc2136 -%} {% for record in rfc.record %} # RFC2136 dynamic DNS configuration for {{ record }}.{{ rfc.zone }} -server={{ rfc.server }}, -protocol=nsupdate, -password={{ rfc.keyfile }}, -ttl={{ rfc.ttl }}, -zone={{ rfc.zone }}, +server={{ rfc.server }} +protocol=nsupdate +password={{ rfc.keyfile }} +ttl={{ rfc.ttl }} +zone={{ rfc.zone }} {{ record }} {% endfor -%} {% endfor -%} |