Fix some hashing bugs resulting from adaptation of new IPAddr class.

This commit is contained in:
Jon Siwek 2012-02-06 13:05:52 -06:00
parent 2e2f8f5d06
commit 1f58ac875b
6 changed files with 24 additions and 25 deletions

View file

@ -107,8 +107,6 @@ char* CompositeHash::SingleValHash(int type_check, char* kp0,
case TYPE_INTERNAL_ADDR:
{
// Use uint32 instead of int, because 'int' is not
// guaranteed to be 32-bit.
uint32* kp = AlignAndPadType<uint32>(kp0);
uint32 bytes[4];
v->AsAddr()->CopyIPv6(bytes);