diff --git a/dns/ddclient/Makefile b/dns/ddclient/Makefile index ad510c72a..a8952749e 100644 --- a/dns/ddclient/Makefile +++ b/dns/ddclient/Makefile @@ -1,5 +1,6 @@ PLUGIN_NAME= ddclient PLUGIN_VERSION= 1.16 +PLUGIN_REVISION= 1 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 34d5feeb3..975c94770 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 @@ class DynDNS2(BaseAccount): } req = requests.get(**req_opts) - if req.status_code == 200: + if 200 >= req.status_code < 300: if self.is_verbose: syslog.syslog( syslog.LOG_NOTICE,