Cleanup get proto name functions. Add master proto to flow alerts.

This commit is contained in:
Alfredo Cardigliano 2021-05-06 10:31:16 +02:00
parent 52a483142b
commit adc665c847
5 changed files with 31 additions and 9 deletions

View file

@ -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