examples/suit_update/test: change local to link

This commit is contained in:
Francisco Molina 2019-10-22 13:05:35 +02:00
parent 789cbb9a79
commit 894413be2d
2 changed files with 2 additions and 2 deletions

View File

@ -170,7 +170,7 @@ If the Border Router is already set up when opening the terminal you should get
RTR_ADV 6LO IPHC
Source address length: 8
Link type: wireless
inet6 addr: fe80::7b7e:3255:1313:8d96 scope: local VAL
inet6 addr: fe80::7b7e:3255:1313:8d96 scope: link VAL
inet6 addr: 2001:db8::7b7e:3255:1313:8d96 scope: global VAL
inet6 group: ff02::2
inet6 group: ff02::1

View File

@ -84,7 +84,7 @@ def get_ipv6_addr(child):
child.expect_exact("Link type: wired")
child.expect(
r"inet6 addr: (?P<lladdr>[0-9a-fA-F:]+:[A-Fa-f:0-9]+)"
" scope: local VAL"
" scope: link VAL"
)
addr = "{}%{}".format(child.match.group("lladdr").lower(), TAP)
return addr