Defined ICMP/ICMPv6 protocol number in icmp_utils (#9916)

This commit is contained in:
Manuel Ceroni 2025-12-30 12:20:10 +01:00 committed by GitHub
parent 315a3c4de0
commit b07e98f312
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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