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

This commit is contained in:
Tobias Brunner
2013-06-28 17:00:29 +02:00
parent f95205f580
commit 50daffb784
3 changed files with 5 additions and 5 deletions
+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
{