aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/ndpi_main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c
index a4a69eab8..feddae6e2 100644
--- a/src/lib/ndpi_main.c
+++ b/src/lib/ndpi_main.c
@@ -6332,7 +6332,6 @@ int ndpi_flowv6_flow_hash(u_int8_t l4_proto, struct ndpi_in6_addr *src_ip, struc
*/
u_int8_t ndpi_extra_dissection_possible(struct ndpi_detection_module_struct *ndpi_str,
struct ndpi_flow_struct *flow) {
-
#if 0
printf("[DEBUG] %s(%u.%u)\n", __FUNCTION__,
flow->detected_protocol_stack[0],
@@ -6357,6 +6356,12 @@ u_int8_t ndpi_extra_dissection_possible(struct ndpi_detection_module_struct *ndp
&& (flow->host_server_name[0] == '\0'))
return(1);
break;
+
+ case NDPI_PROTOCOL_SSH:
+ if((flow->protos.ssh.hassh_client[0] == '\0')
+ || (flow->protos.ssh.hassh_server[0] == '\0'))
+ return(1);
+ break;
}
return(0);