mirror of
https://github.com/espressif/openthread.git
synced 2026-07-29 15:17:47 +00:00
[tests] replace get_addr_rloc() by get_rloc() (#4380)
This commit is contained in:
@@ -576,19 +576,6 @@ class Node:
|
||||
|
||||
return None
|
||||
|
||||
def get_addr_rloc(self):
|
||||
addrs = self.get_addrs()
|
||||
for addr in addrs:
|
||||
segs = addr.split(':')
|
||||
if (
|
||||
segs[4] == '0'
|
||||
and segs[5] == 'ff'
|
||||
and segs[6] == 'fe00'
|
||||
and segs[7] != 'fc00'
|
||||
):
|
||||
return addr
|
||||
return None
|
||||
|
||||
def get_addr_leader_aloc(self):
|
||||
addrs = self.get_addrs()
|
||||
for addr in addrs:
|
||||
|
||||
Reference in New Issue
Block a user