dhcp: Use chunk_hash_static() to calculate ID-based MAC addresses
This commit is contained in:
@@ -227,7 +227,7 @@ static int prepare_dhcp(private_dhcp_socket_t *this,
|
||||
/* with ID specific postfix */
|
||||
if (this->identity_lease)
|
||||
{
|
||||
id = htonl(chunk_hash(chunk));
|
||||
id = htonl(chunk_hash_static(chunk));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user