STUN: fix fallback when DTL dissection fails

This commit is contained in:
Nardi Ivan
2024-03-20 09:39:15 +01:00
committed by Ivan Nardi
parent f758f3605a
commit 5ccf41739b
+1 -1
View File
@@ -540,7 +540,7 @@ static int stun_search_again(struct ndpi_detection_module_struct *ndpi_struct,
NDPI_LOG_DBG(ndpi_struct, "Switch to TLS failed. Rollback to old classification\n");
ndpi_set_detected_protocol(ndpi_struct, flow,
old_proto_stack[1], old_proto_stack[0],
old_proto_stack[0], old_proto_stack[1],
NDPI_CONFIDENCE_DPI);
flow->stun.maybe_dtls = 0;