Skip to content

Commit

Permalink
Fix custom categories matching
Browse files Browse the repository at this point in the history
  • Loading branch information
emanuele-f committed Apr 27, 2018
1 parent 3adccc9 commit f717be1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lib/ndpi_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/* ********************************************************************************* */
Expand Down

0 comments on commit f717be1

Please sign in to comment.