Merge pull request #8123 from gromit1811/fix_topotest_ipv6_linklocal

tests: Fix determination of IPv6 link-local addresses
This commit is contained in:
Russ White 2021-03-09 11:25:10 -05:00 committed by GitHub
commit 7c7e4db935
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1723,7 +1723,7 @@ class Router(Node):
interface = ""
ll_per_if_count = 0
for line in ifaces:
m = re.search("[0-9]+: ([^:@]+)[@if0-9:]+ <", line)
m = re.search("[0-9]+: ([^:@]+)[-@a-z0-9:]+ <", line)
if m:
interface = m.group(1)
ll_per_if_count = 0