Implements visibility of ICMP port-unreachable flows IPv4

This commit is contained in:
Simone Mainardi 2019-02-15 18:59:01 +01:00
parent 69b1dd998e
commit ae23ebcd1c
13 changed files with 307 additions and 11 deletions

View file

@ -2686,7 +2686,8 @@ function getICMPTypeCode(icmp)
for _, _e in ipairs(_icmp_types) do
if((_e[1] == t) and (_e[2] == c)) then
return(_e[3])
local res = _e[3]
return res
end
end