mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 19:15:03 +00:00
Defined ICMP/ICMPv6 protocol number in icmp_utils (#9916)
This commit is contained in:
parent
315a3c4de0
commit
b07e98f312
1 changed files with 5 additions and 0 deletions
|
|
@ -40,6 +40,11 @@ end
|
|||
|
||||
-- #######################
|
||||
|
||||
icmp_utils.ICMP_PROTOCOL = 1
|
||||
icmp_utils.ICMPv6_PROTOCOL = 58
|
||||
|
||||
-- #######################
|
||||
|
||||
function icmp_utils.get_icmp_type(icmp_type, omit_number)
|
||||
local icmp_type_string = i18n("icmp_info.type." .. tostring(icmp_type) .. ".info") or ""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue