aboutsummaryrefslogtreecommitdiff
path: root/example/reader_util.h
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2023-05-29 16:53:11 +0200
committerGitHub <noreply@github.com>2023-05-29 16:53:11 +0200
commit46ff0691176f9c33a7ea4838b197568e2bd84c39 (patch)
tree1cdcb25139cd5ca876c32b961c038aa41af23a99 /example/reader_util.h
parent7ce14da0c8c06967013503187081fa3a146ab8bb (diff)
ndpiReader: improve printing of payload statistics (#1989)
Add a basic unit test Fix an endianess issue
Diffstat (limited to 'example/reader_util.h')
-rw-r--r--example/reader_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/reader_util.h b/example/reader_util.h
index c085ebb8c..c5c399cd5 100644
--- a/example/reader_util.h
+++ b/example/reader_util.h
@@ -396,7 +396,7 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl
void ndpi_flow_info_free_data(struct ndpi_flow_info *flow);
void ndpi_flow_info_freer(void *node);
const char* print_cipher_id(u_int32_t cipher);
-float ndpi_flow_get_byte_count_entropy(const uint32_t byte_count[256], unsigned int num_bytes);
+double ndpi_flow_get_byte_count_entropy(const uint32_t byte_count[256], unsigned int num_bytes);
extern int nDPI_LogLevel;