Wireshark-bugs: [Wireshark-bugs] [Bug 12404] WSLUA Adding a ProtoField that is part of a protoco

Date: Wed, 04 May 2016 17:20:51 +0000

Comment # 1 on bug 12404 from
(In reply to Konrads Smelkovs from comment #0)
> f.f_foo_msg = ProtoField.bytes("foo.bar","FOO message")
> foo_wrapper =
> subtree:add(f.f_foo_msg,buf(offset,msglen),buf(offset,msglen),"FOO message:
> " .. payload_apdu .. "(" .. msglen .. ")")
> Expert Info (Error/Undecoded): Lua Error: [string "redacted..."]:191:
> calling 'add' on bad self (string expected, got userdata)

Try the following?

foo_wrapper = subtree:add(f.f_foo_msg, buf(offset,msglen))
    :set_text("FOO message: " .. payload_apdu .. "(" .. msglen .. ")")


You are receiving this mail because:
  • You are watching all bug changes.