mirror of
https://github.com/mfontanini/libtins
synced 2026-01-26 03:51:35 +01:00
Parsing sniffed RadioTAP + 802.11 beacon packets is working.
This commit is contained in:
@@ -106,6 +106,8 @@ Tins::RadioTap::RadioTap(const uint8_t *buffer, uint32_t total_sz) : PDU(0xff) {
|
||||
buffer += sizeof(_rx_flags);
|
||||
total_sz -= sizeof(_rx_flags);
|
||||
}
|
||||
if(total_sz)
|
||||
inner_pdu(IEEE802_11::from_bytes(buffer, total_sz));
|
||||
}
|
||||
|
||||
void Tins::RadioTap::version(uint8_t new_version) {
|
||||
|
||||
Reference in New Issue
Block a user