Hadriel Kaplan
changed
bug 6357
Comment # 1
on bug 6357
from Hadriel Kaplan
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.