suricata: fix list-keywords option

The list keywords option was crashing due to improper init.

Ticket: 7397
pull/12140/head
Eric Leblond 2 years ago committed by Victor Julien
parent d0427a2833
commit be7cea4d32

@ -36,6 +36,7 @@ int ListKeywords(const char *keyword_info)
MpmTableSetup(); MpmTableSetup();
SpmTableSetup(); SpmTableSetup();
AppLayerSetup(); AppLayerSetup();
SigTableInit();
SigTableSetup(); /* load the rule keywords */ SigTableSetup(); /* load the rule keywords */
return SigTableList(keyword_info); return SigTableList(keyword_info);
} }

Loading…
Cancel
Save