pcappy
pcappy copied to clipboard
On non-darwin system there is no sa.sa_len
The snippet doesnt work as the last parameter of sa.sa.sa_len is not available on windows
else:
return self.UnknownAddress(
family=sa.sa.sa_family,
data=string_at(sa.sa.sa_data, sa.sa.sa_len)
)