examples/suit_update/test: change local to link
This commit is contained in:
parent
789cbb9a79
commit
894413be2d
@ -170,7 +170,7 @@ If the Border Router is already set up when opening the terminal you should get
|
|||||||
RTR_ADV 6LO IPHC
|
RTR_ADV 6LO IPHC
|
||||||
Source address length: 8
|
Source address length: 8
|
||||||
Link type: wireless
|
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 addr: 2001:db8::7b7e:3255:1313:8d96 scope: global VAL
|
||||||
inet6 group: ff02::2
|
inet6 group: ff02::2
|
||||||
inet6 group: ff02::1
|
inet6 group: ff02::1
|
||||||
|
|||||||
@ -84,7 +84,7 @@ def get_ipv6_addr(child):
|
|||||||
child.expect_exact("Link type: wired")
|
child.expect_exact("Link type: wired")
|
||||||
child.expect(
|
child.expect(
|
||||||
r"inet6 addr: (?P<lladdr>[0-9a-fA-F:]+:[A-Fa-f:0-9]+)"
|
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)
|
addr = "{}%{}".format(child.match.group("lladdr").lower(), TAP)
|
||||||
return addr
|
return addr
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user