Ask Your Question
0

Is there any way to disable <Wireshark Lua fake item> from being displayed?

asked 2018-08-02 16:58:46 +0000

cmaynard gravatar image

Is there a way to disable Wireshark Lua fake item from being displayed? I have several chained Lua dissectors and as a result, the Wireshark Packet Details pane as well as tshark output, can be rather noisy and messy looking. What purpose does it even serve?

If it's not possible to disable it from being displayed (which I suspect it is not), then would it be acceptable to remove it, or at least introduce an option/preference to avoid displaying it?

(For me, even changing it to a hidden item would be just as messy, as I almost always choose to "Display hidden protocol items", but I've never once found this Wireshark Lua fake item thing to be useful - just unnecessary clutter.)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-08-03 20:02:38 +0000

JeffMorriss gravatar image

Reviewing the code (epan/wslua/init_wslua.c) it's not obvious what this is for.

It used to be just a text item (put there with proto_tree_add_text() API); it was converted to an item as part of the removal of that API.

Note that hf_wslua_fake is already hidden; presumably you see it because you're always showing hidden items.

Anyway, the only way to keep it from being displayed would be to delete it from the code. It might be worth submitting a patch to do that - and asking for the Lua developers' opinion before merging the patch.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-08-02 16:58:46 +0000

Seen: 782 times

Last updated: Aug 03 '18