aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authoremanuele-f <black.silver@hotmail.it>2018-04-27 15:02:51 +0200
committeremanuele-f <black.silver@hotmail.it>2018-04-27 15:02:51 +0200
commitf717be19cbab9206193e794c71f0ec7659f34239 (patch)
treefa8fe99d93f8394298880d98b84bfa2c4681d106 /src/lib
parent3adccc98f78b82e4eff45cc6add252b70f10decf (diff)
Fix custom categories matching
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ndpi_main.c1
1 files changed, 0 insertions, 1 deletions
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);
}
/* ********************************************************************************* */