mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Improve l4 proto lookup
This commit is contained in:
parent
33c055b582
commit
ffd76c13ba
1 changed files with 1 additions and 1 deletions
|
|
@ -835,7 +835,7 @@ end
|
|||
|
||||
function l4_proto_to_id(proto_name)
|
||||
for _, proto in pairs(l4_keys) do
|
||||
if proto[2] == proto_name then
|
||||
if proto[1] == proto_name or proto[2] == proto_name then
|
||||
return(proto[3])
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue