diff options
author | Ivan Nardi <nardi.ivan@gmail.com> | 2024-11-25 10:01:05 +0100 |
---|---|---|
committer | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2024-11-25 14:01:55 +0100 |
commit | cd29e3b85635ce5a6c5d0f49df4a79952c2939ab (patch) | |
tree | d0d755ec8d81beb40f3744b3db6b864dfe8c8434 | |
parent | 5d5f4bc45dccdc72391db4c680534e9af450f53b (diff) |
wireshark: lua: small fix
-rw-r--r-- | wireshark/ndpi.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |