Fix CAPWAP handling.

This commit is contained in:
aouinizied
2020-10-13 19:13:07 +02:00
parent 2051e51380
commit d5d2a7e3f3
+1 -1
View File
@@ -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);