mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Merge pull request #677 from theseal/legacy_nmap
Support for legacy nmap.
This commit is contained in:
commit
9ecfc41e09
@ -98,7 +98,7 @@ class NmapDeviceScanner(object):
|
|||||||
from nmap import PortScanner, PortScannerError
|
from nmap import PortScanner, PortScannerError
|
||||||
scanner = PortScanner()
|
scanner = PortScanner()
|
||||||
|
|
||||||
options = "-F --host-timeout 5"
|
options = "-F --host-timeout 5s"
|
||||||
|
|
||||||
if self.home_interval:
|
if self.home_interval:
|
||||||
boundary = dt_util.now() - self.home_interval
|
boundary = dt_util.now() - self.home_interval
|
||||||
|
Loading…
x
Reference in New Issue
Block a user