dhcp: Use chunk_hash_static() to calculate ID-based MAC addresses
This commit is contained in:
1 parent
f95205f580
commit
50daffb784
3 files changed
+5
-5
No files matched your search
@@ -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