summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-24 17:43:48 +0100
committerGitHub <noreply@github.com>2021-03-24 17:43:48 +0100
commitcad6be618c10e5710375d022f9b26bf930663bf7 (patch)
tree507f298721cea548088600a0813734e79e50471f /src/conf_mode
parentb9f83a1b21c77b957a333204e4b2dd2e9009b006 (diff)
parent5ab6c20f8acd4dda1870b9a71fe73129d2f78b24 (diff)
downloadvyos-1x-cad6be618c10e5710375d022f9b26bf930663bf7.tar.gz
vyos-1x-cad6be618c10e5710375d022f9b26bf930663bf7.zip
Merge pull request #783 from fortinj1354/equuleus
ddclient: T3422: Allow zone property with cloudflare protocol
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/dynamic_dns.py2
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: