SL-15668 getNodeID is no longer reliable
parent
84a0ae682a
commit
8ee63b463f
|
|
@ -35,8 +35,8 @@ bool llHashedUniqueID(unsigned char id[MD5HEX_STR_SIZE])
|
|||
bool idIsUnique = true;
|
||||
LLMD5 hashed_unique_id;
|
||||
unsigned char unique_id[MAC_ADDRESS_BYTES];
|
||||
if ( LLUUID::getNodeID(unique_id)
|
||||
|| LLMachineID::getUniqueID(unique_id, sizeof(unique_id))
|
||||
if ( LLMachineID::getUniqueID(unique_id, sizeof(unique_id))
|
||||
|| LLUUID::getNodeID(unique_id)
|
||||
)
|
||||
{
|
||||
hashed_unique_id.update(unique_id, MAC_ADDRESS_BYTES);
|
||||
|
|
|
|||
Loading…
Reference in New Issue