diff options
| author | Russ White <russ@riw.us> | 2021-03-09 11:25:10 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-09 11:25:10 -0500 |
| commit | 7c7e4db93570bb5cadefecc02e930916e132e96c (patch) | |
| tree | a55b178c52b18b7d1f6875b33538d101c4fcc8f5 /tests/topotests/lib/topotest.py | |
| parent | 846706b0e18c46c34e5d7354072358fca38973a1 (diff) | |
| parent | fd03dacd03c5af99652a209580de1651d9645fd4 (diff) | |
Merge pull request #8123 from gromit1811/fix_topotest_ipv6_linklocal
tests: Fix determination of IPv6 link-local addresses
Diffstat (limited to 'tests/topotests/lib/topotest.py')
| -rw-r--r-- | tests/topotests/lib/topotest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/topotests/lib/topotest.py b/tests/topotests/lib/topotest.py index 60f6c9f943..5cc1a6981d 100644 --- a/tests/topotests/lib/topotest.py +++ b/tests/topotests/lib/topotest.py @@ -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 |
