diff --git a/dns/ddclient/Makefile b/dns/ddclient/Makefile index a8952749ea..1be74d80e9 100644 --- a/dns/ddclient/Makefile +++ b/dns/ddclient/Makefile @@ -1,6 +1,6 @@ PLUGIN_NAME= ddclient PLUGIN_VERSION= 1.16 -PLUGIN_REVISION= 1 +PLUGIN_REVISION= 2 PLUGIN_DEPENDS= ddclient-devel py${PLUGIN_PYTHON}-boto3 PLUGIN_COMMENT= Dynamic DNS client PLUGIN_MAINTAINER= ad@opnsense.org diff --git a/dns/ddclient/src/opnsense/scripts/ddclient/lib/account/dyndns2.py b/dns/ddclient/src/opnsense/scripts/ddclient/lib/account/dyndns2.py index 975c94770b..d2753255aa 100755 --- a/dns/ddclient/src/opnsense/scripts/ddclient/lib/account/dyndns2.py +++ b/dns/ddclient/src/opnsense/scripts/ddclient/lib/account/dyndns2.py @@ -98,7 +98,7 @@ def execute(self): } req = requests.get(**req_opts) - if 200 >= req.status_code < 300: + if 200 <= req.status_code < 300: if self.is_verbose: syslog.syslog( syslog.LOG_NOTICE,