Wireshark-bugs: [Wireshark-bugs] [Bug 12404] WSLUA Adding a ProtoField that is part of a protoco
Date: Mon, 04 Jul 2016 12:15:15 +0000

changed bug 12404


What Removed Added
CC   peter@lekensteyn.nl

Comment # 5 on bug 12404 from
Konrads, can you verify the types that you are passing?

f.f_foo_msg = ProtoField.bytes("foo.bar","FOO message")
print(type(f.f_foo_msg))
print(type(buf(offset,msglen)))
print(type(buf(offset,msglen)))
print(type(payload_apdu))
foo_wrapper =
subtree:add(f.f_foo_msg,buf(offset,msglen),buf(offset,msglen),"FOO message: "
.. payload_apdu .. "(" .. msglen .. ")")

When you strip "f", you are getting "(null)" in the tree because "f_foo_msg" is
not a global variable.


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