From cc3f6088783373bd56cd821599bdc12ba123125b Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 30 Jan 2019 18:50:00 +0100 Subject: T1213: fix ddclient when no server is given --- src/conf_mode/dynamic_dns.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/conf_mode/dynamic_dns.py b/src/conf_mode/dynamic_dns.py index afebc5d0e..03b06f875 100755 --- a/src/conf_mode/dynamic_dns.py +++ b/src/conf_mode/dynamic_dns.py @@ -63,7 +63,9 @@ protocol={{ srv.protocol }} max-interval=28d login={{ srv.login }} password='{{ srv.password }}' +{% if srv.server -%} server={{ srv.server }} +{% endif -%} {{ host }} {% endfor %} {% endfor %} -- cgit v1.2.3