From cd29e3b85635ce5a6c5d0f49df4a79952c2939ab Mon Sep 17 00:00:00 2001 From: Ivan Nardi Date: Mon, 25 Nov 2024 10:01:05 +0100 Subject: wireshark: lua: small fix --- wireshark/ndpi.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wireshark/ndpi.lua b/wireshark/ndpi.lua index 29e819f72..b652825fb 100644 --- a/wireshark/ndpi.lua +++ b/wireshark/ndpi.lua @@ -1777,7 +1777,7 @@ function stun_dissector(tvb, pinfo, tree) protocol = ndpi_proto_whatsapp end end - if stun_request_table[getstring(stun_request)] ~= 0 and protocol ~= stun_request_table[getstring(stun_request)] then + if stun_request_table[getstring(stun_request)] ~= nil and protocol ~= stun_request_table[getstring(stun_request)] then protocol = stun_request_table[getstring(stun_request)] end -- cgit v1.2.3