From d5d2a7e3f3e34bad383d7679f8967a0a878ff753 Mon Sep 17 00:00:00 2001 From: aouinizied Date: Tue, 13 Oct 2020 19:13:07 +0200 Subject: Fix CAPWAP handling. --- example/reader_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/reader_util.c b/example/reader_util.c index eb87e8d2e..630a82005 100644 --- a/example/reader_util.c +++ b/example/reader_util.c @@ -1930,7 +1930,7 @@ struct ndpi_proto ndpi_workflow_process_packet(struct ndpi_workflow * workflow, } } } - } else if(sport == NDPI_CAPWAP_DATA_PORT) { + } else if((sport == NDPI_CAPWAP_DATA_PORT) || (dport == NDPI_CAPWAP_DATA_PORT)) { /* We dissect ONLY CAPWAP traffic */ u_int offset = ip_offset+ip_len+sizeof(struct ndpi_udphdr); -- cgit v1.2.3