Permalink
Browse files

Merge pull request #3 from sburnett/master

fixed bug
  • Loading branch information...
deepwater82 committed Mar 14, 2012
2 parents 8098e7b + 7d2bcf3 commit 34098292001162196d1ae9c8d9a8058750c6ccd3
Showing with 1 addition and 1 deletion.
  1. +1 −1 udatapath/anonymization.c
@@ -79,8 +79,8 @@ void anonymize_mac(const uint8_t mac[ETH_ALEN], uint8_t digest[ETH_ALEN]) {
memcpy(digest_table[digest_table_index].mac, mac, ETH_ALEN);
anonymization_process(mac, ETH_ALEN, mac_digest);
+ memcpy(mac_digest, mac, ETH_ALEN / 2);
memcpy(digest, mac_digest, ETH_ALEN);
- memcpy(digest, mac, ETH_ALEN / 2);
memcpy(digest_table[digest_table_index].digest, digest, ETH_ALEN);
digest_table_index = (digest_table_index + 1) % DIGEST_TABLE_LEN;

0 comments on commit 3409829

Please sign in to comment.