Set hash mac address's local bit (#733)

This commit is contained in:
Shu Chen
2016-09-30 09:50:11 -07:00
committed by Jonathan Hui
parent 5eb602d443
commit 69d40b7182
+1
View File
@@ -313,6 +313,7 @@ void Mac::GetHashMacAddress(ExtAddress *aHashMacAddress)
sha256.Finish(buf);
memcpy(aHashMacAddress->m8, buf, OT_EXT_ADDRESS_SIZE);
aHashMacAddress->SetLocal(true);
}
ShortAddress Mac::GetShortAddress(void) const