diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2021-03-20 14:40:23 +0100 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2021-03-20 14:40:23 +0100 |
commit | 6f279690573200f1cc6d7e518dd301f163845806 (patch) | |
tree | e09fc4a6cf5969b8bf625c5b7cda3d3c9b95ffb0 /src/lib/ndpi_analyze.c | |
parent | ce971e354e62aee65ab268020a505e03619cf6be (diff) |
Removed master protocol as it was only used for STUN and via also removed API function ndpi_get_protocol_id_master_protofix/ndpi-subprotocol-detection-and-refactoring
* Adjusted Python code to conform to the changes made during the refactoring process.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src/lib/ndpi_analyze.c')
-rw-r--r-- | src/lib/ndpi_analyze.c | 2 |
1 files changed, 1 insertions, 1 deletions
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<num_clusters; j++) { |