Open markvmk opened 8 months ago
Hi,
In both Dot3 and EthernetII implementations of the matches_response(), the same check is done twice:
matches_response()
if (address_type(header_.src_mac) == address_type(eth_ptr->dst_mac)) { if (address_type(header_.src_mac) == address_type(eth_ptr->dst_mac) ||
It seems that the second check is not necessary (probably introducing a bug) or maybe intended to check the second pair of addresses, e.g.
if (address_type(header_.src_mac) == address_type(eth_ptr->dst_mac)) { if (address_type(header_.dst_mac) == address_type(eth_ptr->src_mac) ||
Hi,
In both Dot3 and EthernetII implementations of the
matches_response()
, the same check is done twice:It seems that the second check is not necessary (probably introducing a bug) or maybe intended to check the second pair of addresses, e.g.