detect-lua: register all 'output' keywords as well

Register all keywords available to output scripts to the detect
scripts as well.
pull/1112/head
Victor Julien 11 years ago
parent 41523ede77
commit 5a86e57d41

@ -63,6 +63,8 @@
#ifdef HAVE_LUA
#include "util-lua.h"
#include "util-lua-common.h"
#include "util-lua-http.h"
static const char luaext_key_ld[] = "suricata:luajitdata";
static const char luaext_key_det_ctx[] = "suricata:det_ctx";
@ -605,6 +607,8 @@ int LuaRegisterExtensions(lua_State *lua_state)
lua_pushcfunction(lua_state, LuaDecrFlowint);
lua_setglobal(lua_state, "ScFlowintDecr");
LuaRegisterFunctions(lua_state);
LuaRegisterHttpFunctions(lua_state);
return 0;
}

Loading…
Cancel
Save