From 6f279690573200f1cc6d7e518dd301f163845806 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Sat, 20 Mar 2021 14:40:23 +0100 Subject: Removed master protocol as it was only used for STUN and via also removed API function ndpi_get_protocol_id_master_proto * Adjusted Python code to conform to the changes made during the refactoring process. Signed-off-by: Toni Uhlig --- src/lib/ndpi_analyze.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/ndpi_analyze.c') diff --git a/src/lib/ndpi_analyze.c b/src/lib/ndpi_analyze.c index 3856e0f5f..0618063c0 100644 --- a/src/lib/ndpi_analyze.c +++ b/src/lib/ndpi_analyze.c @@ -710,7 +710,7 @@ int ndpi_cluster_bins(struct ndpi_bin *bins, u_int16_t num_bins, #ifdef COSINE_SIMILARITY best_similarity = -1; #else - best_similarity = 99999999999; + best_similarity = 99999999999.0f; #endif for(j=0; j