Usenet: improve dissection (#1622)

This commit is contained in:
Ivan Nardi
2022-07-03 18:08:04 +02:00
committed by GitHub
parent fdb1649a49
commit 060e894d5b
+4
View File
@@ -81,6 +81,10 @@ void ndpi_search_usenet_tcp(struct ndpi_detection_module_struct
NDPI_LOG_DBG2(ndpi_struct,
"no login necessary but we are a client.\n");
NDPI_LOG_INFO(ndpi_struct, "found usenet\n");
ndpi_int_usenet_add_connection(ndpi_struct, flow);
return;
} else if (packet->payload_packet_len == 6 && (memcmp(packet->payload, "HELP\r\n", 6) == 0)) {
NDPI_LOG_INFO(ndpi_struct, "found usenet\n");
ndpi_int_usenet_add_connection(ndpi_struct, flow);
return;