diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-02-10 16:22:19 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-02-10 16:22:50 +0100 |
commit | 4f61b6a45634dd0e2b596c5477f8de46bd58302f (patch) | |
tree | be04da8583c5480587f80382ba9a3e2a65f75d43 /src | |
parent | e037e80cba316845d0fedd377ab294d4104cffbf (diff) | |
download | vyos-1x-4f61b6a45634dd0e2b596c5477f8de46bd58302f.tar.gz vyos-1x-4f61b6a45634dd0e2b596c5477f8de46bd58302f.zip |
T1213: ddclient: proper enquote web-skip parameter
(cherry picked from commit ad011db299196a2e5defa7d8030be149d71d53ee)
Diffstat (limited to 'src')
-rwxr-xr-x | src/conf_mode/dynamic_dns.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/dynamic_dns.py b/src/conf_mode/dynamic_dns.py index 03b06f875..6f826c18f 100755 --- a/src/conf_mode/dynamic_dns.py +++ b/src/conf_mode/dynamic_dns.py @@ -39,7 +39,7 @@ cache=/var/cache/ddclient/ddclient.cache # ddclient configuration for interface "{{ interface.interface }}": # {% if interface.web_url -%} -use=web, web={{ interface.web_url}} {%- if interface.web_skip %}, web-skip={{ interface.web_skip }}{% endif %} +use=web, web='{{ interface.web_url}}' {%- if interface.web_skip %}, web-skip='{{ interface.web_skip }}'{% endif %} {% else -%} use=if, if={{ interface.interface }} {% endif -%} |