diff options
author | aouinizied <aouinizied@gmail.com> | 2020-10-13 19:13:07 +0200 |
---|---|---|
committer | aouinizied <aouinizied@gmail.com> | 2020-10-13 19:13:07 +0200 |
commit | d5d2a7e3f3e34bad383d7679f8967a0a878ff753 (patch) | |
tree | d7932b1a36abc3cbdc86014d5fb5eb9bbc4790c6 /example/reader_util.c | |
parent | 2051e51380e9a54cdaf5e868a6d93d7ed6d42653 (diff) |
Fix CAPWAP handling.
Diffstat (limited to 'example/reader_util.c')
-rw-r--r-- | example/reader_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |