diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-10-23 05:46:54 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-11-09 15:16:15 +0100 |
commit | 4500e38703c444ecd4964068ee7dbb91cec1e523 (patch) | |
tree | 74c31d1fbba659d933c00134c6e77e95cbbb5abf /src/conf_mode/dynamic_dns.py | |
parent | a467fabbb5091783ebf7dd745ec7b90b847a900f (diff) | |
download | vyos-1x-4500e38703c444ecd4964068ee7dbb91cec1e523.tar.gz vyos-1x-4500e38703c444ecd4964068ee7dbb91cec1e523.zip |
ddclient: T1030: adjust to latest syntax
(cherry picked from commit 967067970494c1800f028e5a44ff2fc9e39eabb9)
Diffstat (limited to 'src/conf_mode/dynamic_dns.py')
-rwxr-xr-x | src/conf_mode/dynamic_dns.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/conf_mode/dynamic_dns.py b/src/conf_mode/dynamic_dns.py index 3dc6857f9..c4a95f5f1 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 -%} @@ -59,12 +59,12 @@ zone={{ rfc.zone }} {% for srv in interface.service %} {% for host in srv.host %} # DynDNS provider configuration for {{ host }} -protocol={{ srv.protocol }} -max-interval=28d -login={{ srv.login }} -password='{{ srv.password }}' +protocol={{ srv.protocol }}, +max-interval=28d, +login={{ srv.login }}, +password='{{ srv.password }}', {% if srv.server -%} -server={{ srv.server }} +server={{ srv.server }}, {% endif -%} {{ host }} {% endfor %} |