Wireshark-bugs: [Wireshark-bugs] [Bug 6357] Lua scripting: all_field_infos() broken within tap/l
Date: Tue, 12 Feb 2013 16:47:00 +0000

changed bug 6357

What Removed Added
CC   hadrielk@yahoo.com

Comment # 1 on bug 6357 from
I don't think it's a bug - it's by design.  And it happens for both Listeners
and Dissectors.  The problem is packets aren't fully dissected - or rather
their field trees aren't created - until you select a packet.  So when a tap
Listener is called in Lua, the proto tree hasn't been fully created; and
likewise for when a dissector is called.  It just happens that a dissector will
be called multiple times, including when the user selects a packet and thus
when the full tree is available.

I've added an example script to show this happening, titled "View Packet Tree
of Fields/FieldInfo" in here:
http://wiki.wireshark.org/Lua/Examples


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