Fixes the AsusWRT `ip neigh` regex to handle the possible IPv6 "router" flag (#5605)

See the last line here: http://linux-ip.net/gl/ip-cref/ip-cref-node62.html
pull/5623/head
Kyle Hendricks 2017-01-29 03:37:59 -05:00 committed by Fabian Affolter
parent a9325ea663
commit fddab7f2b4
1 changed files with 1 additions and 0 deletions

View File

@ -76,6 +76,7 @@ _IP_NEIGH_REGEX = re.compile(
r'\w+\s'
r'\w+\s'
r'(\w+\s(?P<mac>(([0-9a-f]{2}[:-]){5}([0-9a-f]{2}))))?\s'
r'\s?(router)?'
r'(?P<status>(\w+))')
_NVRAM_CMD = 'nvram get client_info_tmp'