mirror of
https://github.com/mfontanini/libtins
synced 2026-01-25 03:31:36 +01:00
PDU::matches_response is now const.
This commit is contained in:
@@ -110,7 +110,7 @@ void Dot3::send(PacketSender &sender, const NetworkInterface &iface) {
|
||||
}
|
||||
#endif // WIN32
|
||||
|
||||
bool Dot3::matches_response(uint8_t *ptr, uint32_t total_sz) {
|
||||
bool Dot3::matches_response(const uint8_t *ptr, uint32_t total_sz) const {
|
||||
if(total_sz < sizeof(ethhdr))
|
||||
return false;
|
||||
const size_t addr_sz = address_type::address_size;
|
||||
|
||||
Reference in New Issue
Block a user