fixed some dissector for logic or syntax

This commit is contained in:
Campus
2016-10-07 11:37:42 +02:00
parent 7e8e243e68
commit 2c47dca086
6 changed files with 199 additions and 224 deletions
+2 -2
View File
@@ -88,8 +88,8 @@ void ndpi_search_zmq(struct ndpi_detection_module_struct *ndpi_struct, struct nd
NDPI_LOG(NDPI_PROTOCOL_ZMQ, ndpi_struct, NDPI_LOG_TRACE, "ZMQ detection...\n");
/* skip marked packets */
if (packet->detected_protocol_stack[0] != NDPI_PROTOCOL_ZMQ) {
if (packet->tcp_retransmission == 0) {
if(packet->detected_protocol_stack[0] != NDPI_PROTOCOL_ZMQ) {
if(packet->tcp && packet->tcp_retransmission == 0) {
ndpi_check_zmq(ndpi_struct, flow);
}
}