Fix incorrect comparison in dissector

This commit is contained in:
George Hilliard committed 2022-09-15 17:30:24 -05:00
1 parent 58e74fc3ee
commit 5f4085f925
1 file changed
+1 -1
+1 -1
View File
@@ -378,7 +378,7 @@ end
local function get_udp_header_len(buffer)
local udpmagic = buffer(1, 3):le_uint()
if not udpmagic == 0x2a87cf then
if udpmagic ~= 0x2a87cf then
return 0
else
local udptype = buffer(0, 1):le_uint()