diff options
Diffstat (limited to 'example/reader_util.c')
-rw-r--r-- | example/reader_util.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/example/reader_util.c b/example/reader_util.c index 630a82005..3853aa919 100644 --- a/example/reader_util.c +++ b/example/reader_util.c @@ -1942,9 +1942,8 @@ struct ndpi_proto ndpi_workflow_process_packet(struct ndpi_workflow * workflow, offset += msg_len; - if((offset + 32 < header->caplen) && (packet[offset] == 0x02)) { + if((offset + 32 < header->caplen)) { /* IEEE 802.11 Data */ - offset += 24; /* LLC header is 8 bytes */ type = ntohs((u_int16_t)*((u_int16_t*)&packet[offset+6])); |