mirror of
https://github.com/espressif/openthread.git
synced 2026-09-17 22:50:07 +00:00
[tests] OTBR get_addrs returns only Thread addresses (#7106)
The intention is to make OTBR (in Docker) behaves same as normal simulation devices.
This commit is contained in:
@@ -322,6 +322,10 @@ class TestCase(NcpSupportMixin, unittest.TestCase):
|
||||
|
||||
for i, node in self.nodes.items():
|
||||
ipaddrs = node.get_addrs()
|
||||
|
||||
if hasattr(node, 'get_ether_addrs'):
|
||||
ipaddrs += node.get_ether_addrs()
|
||||
|
||||
test_info['ipaddrs'][i] = ipaddrs
|
||||
if not node.is_host:
|
||||
mleid = node.get_mleid()
|
||||
|
||||
Reference in New Issue
Block a user