Fixes interface selection causing view flows not refreshed

This commit is contained in:
Simone Mainardi 2021-07-14 11:33:20 +02:00
parent 111ff3cfd7
commit 83ee68f19b
6 changed files with 12 additions and 8 deletions

View file

@ -263,7 +263,7 @@ function ebpf_utils.draw_flows_datatable(ifstats, host_info, username, pid_name)
var url_update = "]]
print (ntop.getHttpPrefix())
print [[/lua/get_flows_data.lua?]]
print(table.tconcat({username = username, pid_name = pid_name, host = hostinfo2hostkey(host_info)}, "=", "&"))
print(table.tconcat({ifid = interface.getId(), username = username, pid_name = pid_name, host = hostinfo2hostkey(host_info)}, "=", "&"))
print ('";')
local show_vlan