forked from shaba/openuds
Merge remote-tracking branch 'origin/v3.0'
This commit is contained in:
commit
f602d641a0
@ -202,7 +202,7 @@ class IPMachinesService(IPServiceBase):
|
|||||||
theIP = IPServiceBase.getIp(ip)
|
theIP = IPServiceBase.getIp(ip)
|
||||||
theMAC = IPServiceBase.getMac(ip)
|
theMAC = IPServiceBase.getMac(ip)
|
||||||
if self.storage.readData(theIP) is None:
|
if self.storage.readData(theIP) is None:
|
||||||
if self._port > 0 and self.cache.get('port{}'.format(theIP)):
|
if self._port > 0 and self._skipTimeOnFailure > 0 and self.cache.get('port{}'.format(theIP)):
|
||||||
continue # The check failed not so long ago, skip it...
|
continue # The check failed not so long ago, skip it...
|
||||||
self.storage.saveData(theIP, theIP)
|
self.storage.saveData(theIP, theIP)
|
||||||
# Now, check if it is available on port, if required...
|
# Now, check if it is available on port, if required...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user