1
0
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:
Sergio Semedi Barranco 2018-03-06 15:55:45 +01:00 committed by Tino Vazquez
parent 380ad63cbc
commit 40875f3154

View File

@ -176,8 +176,6 @@ int AddressRange::init_mac(string& error_msg)
}
else
{
srand(time(0));
mac[0] = rand() & 0x0000FFFF;
mac[0]+= (rand()<<16) & 0xFFFF0000;
}