mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
This commit is contained in:
parent
64290d74f0
commit
bc646070c8
@ -286,8 +286,10 @@ class AsusWrtDeviceScanner(object):
|
||||
|
||||
# match mac addresses to IP addresses in ARP table
|
||||
for arp in result.arp:
|
||||
if match.group('mac').lower() in arp.decode('utf-8'):
|
||||
arp_match = _ARP_REGEX.search(arp.decode('utf-8'))
|
||||
if match.group('mac').lower() in \
|
||||
arp.decode('utf-8').lower():
|
||||
arp_match = _ARP_REGEX.search(
|
||||
arp.decode('utf-8').lower())
|
||||
if not arp_match:
|
||||
_LOGGER.warning('Could not parse arp row: %s', arp)
|
||||
continue
|
||||
|
Loading…
x
Reference in New Issue
Block a user