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 /example | |
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 'example')
-rw-r--r-- | example/ndpiReader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c index 0baa51000..2996830f9 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -244,7 +244,7 @@ void init_doh_bins() { u_int check_bin_doh_similarity(struct ndpi_bin *bin, float *similarity) { u_int i; - float lowest_similarity = 9999999999; + float lowest_similarity = 9999999999.0f; for(i=0; i<NUM_DOH_BINS; i++) { *similarity = ndpi_bin_similarity(&doh_ndpi_bins[i], bin, 0); |