mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 03:42:52 +09:00
B #1832: seed is no longer generated when creating AR
This commit is contained in:
1 parent
d9e12b8d62
commit
39ba8a0dfb
1 file changed
-2
@@ -176,8 +176,6 @@ int AddressRange::init_mac(string& error_msg)
|
||||
}
|
||||
else
|
||||
{
|
||||
srand(time(0));
|
||||
|
||||
mac[0] = rand() & 0x0000FFFF;
|
||||
mac[0]+= (rand()<<16) & 0xFFFF0000;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user