aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wireshark/ndpi.lua2
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