A mismatched flow type will cause Equal to always return false; as is the case when a TcpIpFlow is constructed with IPv6 addresses and compared to a flow constructed with IPv4 addresses. We should do two things:
carefully audit the code that creates flows and make sure they have the correct endpoint types
put a panic condition in Equal when called with mismatched types
I believe this is unlikely to affect honeybadger detection since there would not be mismatched flow endpoint types.
A mismatched flow type will cause Equal to always return false; as is the case when a TcpIpFlow is constructed with IPv6 addresses and compared to a flow constructed with IPv4 addresses. We should do two things:
I believe this is unlikely to affect honeybadger detection since there would not be mismatched flow endpoint types.