From f717be19cbab9206193e794c71f0ec7659f34239 Mon Sep 17 00:00:00 2001 From: emanuele-f Date: Fri, 27 Apr 2018 15:02:51 +0200 Subject: Fix custom categories matching --- src/lib/ndpi_main.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src') diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index a42f8c3ce..d7c3467ca 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -3777,7 +3777,6 @@ void ndpi_load_hostname_category(struct ndpi_detection_module_struct *ndpi_struc ac_pattern.rep.number = (int)category; ac_automata_add(ndpi_struct->custom_categories.hostnames_shadow.ac_automa, &ac_pattern); - ac_automata_finalize(ndpi_struct->custom_categories.hostnames_shadow.ac_automa); } /* ********************************************************************************* */ -- cgit v1.2.3