diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-03-24 17:43:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-24 17:43:48 +0100 |
commit | cad6be618c10e5710375d022f9b26bf930663bf7 (patch) | |
tree | 507f298721cea548088600a0813734e79e50471f | |
parent | b9f83a1b21c77b957a333204e4b2dd2e9009b006 (diff) | |
parent | 5ab6c20f8acd4dda1870b9a71fe73129d2f78b24 (diff) | |
download | vyos-1x-cad6be618c10e5710375d022f9b26bf930663bf7.tar.gz vyos-1x-cad6be618c10e5710375d022f9b26bf930663bf7.zip |
Merge pull request #783 from fortinj1354/equuleus
ddclient: T3422: Allow zone property with cloudflare protocol
-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 6d39c6644..c979feca7 100755 --- a/src/conf_mode/dynamic_dns.py +++ b/src/conf_mode/dynamic_dns.py @@ -114,7 +114,7 @@ def verify(dyndns): raise ConfigError(f'"password" {error_msg}') if 'zone' in config: - if service != 'cloudflare': + if service != 'cloudflare' and ('protocol' not in config or config['protocol'] != 'cloudflare'): raise ConfigError(f'"zone" option only supported with CloudFlare') if 'custom' in config: |