mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-20 17:29:13 +00:00
Fixes warning
This commit is contained in:
parent
2cf25bc54c
commit
2cd1f486ac
1 changed files with 1 additions and 0 deletions
|
|
@ -53,6 +53,7 @@ LuaEngine* CustomFlowLuaScript::initVM(const char *script_path) {
|
|||
lua->load_script((char*)where, NULL /* NetworkInterface filled later via lua->setFlow(f); */);
|
||||
ntop->getTrace()->traceEvent(TRACE_NORMAL, "Loaded custom user script %s", where);
|
||||
} catch(std::bad_alloc& ba) {
|
||||
lua = NULL;
|
||||
ntop->getTrace()->traceEvent(TRACE_ERROR, "Unable to start Lua interpreter.");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue