mirror of
https://github.com/mfontanini/libtins
synced 2026-01-27 04:11:35 +01:00
IP now fills automatically the sender address when no link layer PDU is present. Made some protocols work when using PacketSender::send_recv.
This commit is contained in:
@@ -56,4 +56,8 @@ void RawPDU::write_serialization(uint8_t *buffer, uint32_t total_sz, const PDU *
|
||||
void RawPDU::payload(const payload_type &pload) {
|
||||
_payload = pload;
|
||||
}
|
||||
|
||||
bool RawPDU::matches_response(uint8_t *ptr, uint32_t total_sz) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user