mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Implemented support of MAC-less NetFilter packets with L2 visibility via source MAC reported by NetFilter
Added numeric interface type to enhance interface comparison speed
This commit is contained in:
parent
14429c9103
commit
e2dc8f8c19
12 changed files with 70 additions and 16 deletions
|
|
@ -1108,6 +1108,7 @@ end
|
|||
end
|
||||
|
||||
-- #######################
|
||||
|
||||
function map_failure_resp_code(fail_resp_code_string)
|
||||
if (fail_resp_code_string ~= nil) then
|
||||
if(fail_resp_code_string == "200") then
|
||||
|
|
@ -1194,7 +1195,7 @@ function getFlowLabel(flow, show_macs, add_hyperlinks)
|
|||
end
|
||||
|
||||
if show_macs and cli_mac then
|
||||
label = label.." ["..cli_mac.."]"
|
||||
label = label.." [ "..cli_mac.." ]"
|
||||
end
|
||||
|
||||
label = label.." <i class=\"fa fa-exchange fa-lg\" aria-hidden=\"true\"></i> "
|
||||
|
|
@ -1208,7 +1209,7 @@ function getFlowLabel(flow, show_macs, add_hyperlinks)
|
|||
end
|
||||
|
||||
if show_macs and srv_mac then
|
||||
label = label.." ["..srv_mac.."]"
|
||||
label = label.." [ "..srv_mac.." ]"
|
||||
end
|
||||
|
||||
return label
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue