Dissector - Add BC to BC magic 0x0fedcba0

Co-authored-by: twistedddx <bits@live.com>
This commit is contained in:
twistedddxandtwistedddx authored and GitHub committed 2020-11-30 23:33:09 -06:00
1 parent efa4a1d7a7
commit 80a75b20a6
1 file changed
+6 -1
+6 -1
View File
@@ -165,7 +165,12 @@ end
function get_header_len(buffer)
local magic = buffer(0, 4):le_uint()
if magic ~= 0x0abcdef0 then
if magic == 0x0abcdef0 then
-- Client <-> BC
elseif magic == 0x0fedcba0 then
-- BC <-> BC
else
-- Unknown magic
return -1 -- No header found
end
local header_len = header_lengths[buffer(18, 2):le_uint()]