mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
dns/ddclient - fix logic issue in https://github.com/opnsense/plugins/commit/7c6fccdde0bc12d6521e25c64d49978b65113e28 (https://github.com/opnsense/plugins/pull/3618)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -98,7 +98,7 @@ class DynDNS2(BaseAccount):
|
||||
}
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user