We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
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) ||
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: