From 43c1f6a3fd037ef30e46a7c40f776a7119c72ca7 Mon Sep 17 00:00:00 2001 From: Zied Aouini Date: Wed, 21 Oct 2020 15:07:20 +0200 Subject: CAPWAP tunnel decoding fix (#1038) * Fix CAPWAP processing. * Update result. --- example/reader_util.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'example') 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])); -- cgit v1.2.3