mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Improve MUD prefs handling
Also implement a non-inline reloadPrefs Host method to avoid slowing down packet capture
This commit is contained in:
parent
3fcded57fa
commit
c3fa094e99
10 changed files with 129 additions and 9 deletions
|
|
@ -218,8 +218,8 @@ end
|
|||
-- @notes This function is called with a LuaC flow context set
|
||||
function mud_utils.handleFlow(info)
|
||||
local ifid = interface.getId()
|
||||
local cli_recording = mud_utils.getHostMUDRecordingPref(ifid, info["cli.ip"])
|
||||
local srv_recording = mud_utils.getHostMUDRecordingPref(ifid, info["srv.ip"])
|
||||
local cli_recording = flow.getClientMUDPref()
|
||||
local srv_recording = flow.getServerMUDPref()
|
||||
local is_local_connection = flow.isLocal()
|
||||
|
||||
if(cli_recording ~= "disabled") then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue