mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08:19 +00:00
Fix some hashing bugs resulting from adaptation of new IPAddr class.
This commit is contained in:
parent
2e2f8f5d06
commit
1f58ac875b
6 changed files with 24 additions and 25 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue