dhcp: Use chunk_hash_static() to calculate ID-based MAC addresses

This commit is contained in:
Tobias Brunner committed 2013-06-28 17:00:29 +02:00
1 parent f95205f580
commit 50daffb784
3 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -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
{