mirror of
https://github.com/espressif/openthread.git
synced 2026-08-12 21:57:47 +00:00
[thci] correct conversion of IPv6 prefix (#3846)
This commit is contained in:
committed by
Jonathan Hui
parent
8bb50d4ccd
commit
72b0708085
@@ -500,7 +500,7 @@ class OpenThread(IThci):
|
||||
finalMac = ':'.join(a + b + c + d for a,b,c,d in zip(hexIter, hexIter,hexIter,hexIter))
|
||||
prefix = str(finalMac)
|
||||
strIp6Prefix = prefix[:20]
|
||||
return strIp6Prefix +':'
|
||||
return strIp6Prefix +'::'
|
||||
|
||||
def __convertLongToString(self, iValue):
|
||||
"""convert a long hex integer to string
|
||||
|
||||
Reference in New Issue
Block a user