From: Eric Leblond Date: Thu, 28 May 2015 05:02:12 +0000 (+0200) Subject: output-lua: sync variable name with yaml X-Git-Tag: suricata-3.0RC1~340 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=be07620a6021b7bd448bca02a68961516ab4ef9a;p=thirdparty%2Fsuricata.git output-lua: sync variable name with yaml 'script-dir' was used in the code but we had 'scripts-dir' in the configuration file. This patch fixes it to 'scripts-dir'. --- diff --git a/src/output-lua.c b/src/output-lua.c index 7f7514eef4..fc075cd314 100644 --- a/src/output-lua.c +++ b/src/output-lua.c @@ -692,7 +692,7 @@ static void LogLuaMasterFree(OutputCtx *oc) { */ static OutputCtx *OutputLuaLogInit(ConfNode *conf) { - const char *dir = ConfNodeLookupChildValue(conf, "script-dir"); + const char *dir = ConfNodeLookupChildValue(conf, "scripts-dir"); if (dir == NULL) dir = "";