rand() is used, but srand() was never called.
This commit is contained in:
parent
61d7e75709
commit
7ca2da76f0
@ -429,6 +429,8 @@ DHCPClient::DHCPClient(BMessenger target, const char* device)
|
||||
fStartTime = system_time();
|
||||
fTransactionID = (uint32)fStartTime;
|
||||
|
||||
srand(fTransactionID);
|
||||
|
||||
BNetworkAddress link;
|
||||
BNetworkInterface interface(device);
|
||||
fStatus = interface.GetHardwareAddress(link);
|
||||
|
Loading…
Reference in New Issue
Block a user