mirror of
https://github.com/opnsense/plugins.git
synced 2026-02-03 20:40:37 -05:00
dns/ddclient - fix logic issue in 7c6fccdde0 (https://github.com/opnsense/plugins/pull/3618)
This commit is contained in:
parent
9b0f5edf56
commit
f6f72bb524
2 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue