From 51e48884429015b94d58d9e3240c0fb3ceb465f2 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Sat, 24 Jul 2021 17:50:32 +0200 Subject: Implemented ALPN automa for checking uncommon ALPNs --- example/reader_util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'example/reader_util.c') diff --git a/example/reader_util.c b/example/reader_util.c index f4f35da1a..bc7444f31 100644 --- a/example/reader_util.c +++ b/example/reader_util.c @@ -1472,8 +1472,8 @@ static struct ndpi_proto packet_processing(struct ndpi_workflow * workflow, /* Copy packets entropy if num packets count == 10 */ ndpi_clear_entropy_stats(flow); - - if(!flow->has_human_readeable_strings) { + + if((human_readeable_string_len != 0) && (!flow->has_human_readeable_strings)) { u_int8_t skip = 0; if((proto == IPPROTO_TCP) -- cgit v1.2.3