Without that we get warning message.
#include "app-layer-parser.h"
#include "util-cuda.h"
#include "util-unittest.h"
+#include "util-debug.h"
+#include "conf-yaml-loader.h"
int ListKeywords(const char *keyword_info)
{
+ if (ConfYamlLoadFile(DEFAULT_CONF_FILE) != -1)
+ SCLogLoadConfig(0, 0);
MpmTableSetup();
AppLayerSetup();
SigTableSetup(); /* load the rule keywords */
int ListAppLayerProtocols()
{
+ if (ConfYamlLoadFile(DEFAULT_CONF_FILE) != -1)
+ SCLogLoadConfig(0, 0);
MpmTableSetup();
AppLayerSetup();
AppLayerListSupportedProtocols();