This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

I have developed my own plugin in wireshark using lua. In dissection tree when we click at first time it is showing all the elements of the tree (till in the depth root item, child, grand child). I want that at first click it should see only level 1 (root level) information only.

I have seen below questions and referred.

  1. https://ask.wireshark.org/questions/42404/lua-dissector-tree-collapse
  2. https://ask.wireshark.org/questions/31356/how-to-get-all-tree-items-collapsed-as-default-in-gtk-version

I tried the solution which is mentioned by @Hadriel in second question (related to ett value) but it isnot applied. can anyone look into this?

asked 26 May '15, 22:25

ankit's gravatar image

ankit
65232328
accept rate: 25%

edited 26 May '15, 22:26


I answered this in another post, assuming your script is similar.

permanent link

answered 27 Jun '15, 19:22

Hadriel's gravatar image

Hadriel
2.7k2939
accept rate: 18%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×1,620
×431
×31
×23

question asked: 26 May '15, 22:25

question was seen: 1,687 times

last updated: 27 Jun '15, 19:22

p​o​w​e​r​e​d by O​S​Q​A