pcappy icon indicating copy to clipboard operation
pcappy copied to clipboard

On non-darwin system there is no sa.sa_len

Open philipaxer opened this issue 8 years ago • 0 comments

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)
        )

philipaxer avatar Dec 12 '17 10:12 philipaxer