mirror of
https://github.com/falcosecurity/falco.git
synced 2025-08-01 22:47:46 +00:00
Pass filter object into sinsp::set_filter()
This commit is contained in:
parent
4c371e5b1d
commit
32ad5673c6
@ -241,10 +241,7 @@ digwatch_init_res digwatch_init(int argc, char **argv)
|
||||
|
||||
g_lua_parser = new lua_parser(inspector, user_parser);
|
||||
|
||||
if(filter.size())
|
||||
{
|
||||
inspector->set_filter(filter);
|
||||
}
|
||||
inspector->set_filter(g_lua_parser->m_filter);
|
||||
inspector->open("");
|
||||
|
||||
cinfo = do_inspect(inspector,
|
||||
|
Loading…
Reference in New Issue
Block a user