From b5fb2066cb9dc71669d38d5a03bd1a6d1992a112 Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Sun, 3 Jul 2022 19:25:15 +0200 Subject: bins: add support for 64bit bins (#1626) --- example/ndpiReader.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'example/ndpiReader.c') diff --git a/example/ndpiReader.c b/example/ndpiReader.c index d7d720fff..f8e55c484 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -1232,6 +1232,9 @@ void print_bin(FILE *fout, const char *label, struct ndpi_bin *b) { case ndpi_bin_family32: fprintf(fout, "%s%u", (i > 0) ? sep : "", b->u.bins32[i]); break; + case ndpi_bin_family64: + fprintf(fout, "%s%llu", (i > 0) ? sep : "", (unsigned long long)b->u.bins64[i]); + break; } } -- cgit v1.2.3