aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nDPId.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nDPId.c b/nDPId.c
index b3bf7c5dc..7eabcc951 100644
--- a/nDPId.c
+++ b/nDPId.c
@@ -1252,6 +1252,8 @@ static uint32_t calculate_ndpi_flow_struct_hash(struct ndpi_flow_struct const *
hash += ndpi_flow->src->detected_protocol_bitmask.fds_bits[i];
hash += ndpi_flow->dst->detected_protocol_bitmask.fds_bits[i];
}
+ hash += strnlen((const char *)ndpi_flow->host_server_name, sizeof(ndpi_flow->host_server_name)); // ugly
+
return hash;
}