summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2018-10-14 18:12:45 +0200
committerChristian Poessinger <christian@poessinger.com>2018-10-14 18:12:45 +0200
commitd8e0f1dbda08ebbd1901acb588b4468f8a93903e (patch)
tree5ceb7d65cf40809ee47be810989409f2462b3fe8
parentaf4186db5efb2c60308824d58ff310d22e96e76b (diff)
downloadvyos-1x-d8e0f1dbda08ebbd1901acb588b4468f8a93903e.tar.gz
vyos-1x-d8e0f1dbda08ebbd1901acb588b4468f8a93903e.zip
T896: Fix dynamic DNS for CUSTOM provider
JINJA2 templated missed the 'server=' statement when generating custom dynamic DNS entries in the resulting ddclient.conf. (cherry picked from commit 95d95c52cb447b3ddb1bce6737583e4fd1c945d0)
-rwxr-xr-xsrc/conf_mode/dynamic_dns.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conf_mode/dynamic_dns.py b/src/conf_mode/dynamic_dns.py
index 90d4ff567..60efcaae2 100755
--- a/src/conf_mode/dynamic_dns.py
+++ b/src/conf_mode/dynamic_dns.py
@@ -63,6 +63,7 @@ protocol={{ srv.protocol }}
max-interval=28d
login={{ srv.login }}
password='{{ srv.password }}'
+server={{ srv.server }}
{{ host }}
{% endfor %}
{% endfor %}