B #1832: seed is no longer generated when creating AR

This commit is contained in:
Sergio Semedi Barranco authored and Ruben S. Montero committed 2018-03-06 15:55:45 +01:00
1 parent d9e12b8d62
commit 39ba8a0dfb
1 file changed
-2
-2
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;
}