mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-30 22:50:10 +03:00
B #1832: seed is no longer generated when creating AR
(cherry picked from commit 39ba8a0dfb3c9e210a86028811ceb3e3106d9a99)
This commit is contained in:
parent
380ad63cbc
commit
40875f3154
@ -176,8 +176,6 @@ int AddressRange::init_mac(string& error_msg)
|
||||
}
|
||||
else
|
||||
{
|
||||
srand(time(0));
|
||||
|
||||
mac[0] = rand() & 0x0000FFFF;
|
||||
mac[0]+= (rand()<<16) & 0xFFFF0000;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user