Fix IP hash
authorSuperQ <superq@gmail.com>
Sat, 22 Jan 2022 15:37:30 +0000 (16:37 +0100)
committerSuperQ <superq@gmail.com>
Sat, 22 Jan 2022 15:37:30 +0000 (16:37 +0100)
commit338309104e6c00fa6be6f27dcc05ee34c2e16b01
tree29aa704af81ee3a417193a45600a87a47131e99f
parent70bff7941301753b125a40bcf6b3ed28935a9a94
Fix IP hash

Select the correct slice of bytes to hash based on IPv4 or IPv6 address
family.

Signed-off-by: SuperQ <superq@gmail.com>
prober/utils.go