Refined guess that does not happen for protocols that have been excluded
This commit is contained in:
@@ -46,7 +46,7 @@ void ndpi_search_mssql_tds(struct ndpi_detection_module_struct *ndpi_struct, str
|
||||
struct ndpi_packet_struct *packet = &flow->packet;
|
||||
struct tds_packet_header *h = (struct tds_packet_header*) packet->payload;
|
||||
|
||||
if (packet->payload_packet_len < sizeof(struct tds_packet_header)) {
|
||||
if(packet->payload_packet_len < sizeof(struct tds_packet_header)) {
|
||||
NDPI_LOG(NDPI_PROTOCOL_MSSQL_TDS, ndpi_struct, NDPI_LOG_DEBUG, "exclude mssql_tds\n");
|
||||
NDPI_ADD_PROTOCOL_TO_BITMASK(flow->excluded_protocol_bitmask, NDPI_PROTOCOL_MSSQL_TDS);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user