|Main Archive Page > Month Archives > wireshark-dev archives|
I'm trying to output some bit values in my wireshark dissector decode.
However, I want to be able to filter based on those bit values.
I can't seem to use the LUA bitop library to do it, because lua
complains that the result is not a uservalue.
I've got the following code:
for shred = 1, num_shreds
subtree:add("----- NV Storage Shred " ..
shred .. " -----")
subtree:add("----- NV Storage hex flags:
" .. hex)
-- The following line complains about a nil
local rdonly=Tvb.new_real(hexba, "hex")
-- The following line complains about the
value being a number instead of a uservalue
Does anyone happen to have any clues as to what I'm doing wrong? Fwiw,
I'm using 1.2.0 (1.3, 1.4, and 1.5 all have video corruption issues, and
1.0 has issues with 64-bit integers).
Sent via: Wireshark-dev mailing list <firstname.lastname@example.org>