[thci] correct conversion of IPv6 prefix (#3846)

This commit is contained in:
Łukasz Duda
2019-05-21 08:32:46 -07:00
committed by Jonathan Hui
parent 8bb50d4ccd
commit 72b0708085
+1 -1
View File
@@ -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