mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Cleanup get proto name functions. Add master proto to flow alerts.
This commit is contained in:
parent
52a483142b
commit
adc665c847
5 changed files with 31 additions and 9 deletions
|
|
@ -686,6 +686,8 @@ function l4_proto_to_id(proto_name)
|
|||
end
|
||||
|
||||
function l4_proto_to_string(proto_id)
|
||||
if not proto_id then return "" end
|
||||
|
||||
proto_id = tonumber(proto_id)
|
||||
|
||||
for _, proto in pairs(l4_keys) do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue