The proto_tree_add_item displays each filter in a newline in the CLI. Is there a way to display the filters in the same line. Ex.
I want them to be s1 and s2 to be displayed in the same line as
rather than
asked 28 Sep '15, 04:03 samprit edited 30 Sep '15, 03:01 |
2 Answers:
Not for a filter (I think you actually mean an hf item). The text for each entry can be built from multiple packets in the frame, or synthesise out of thin air if you wish though. answered 28 Sep '15, 07:38 grahamb ♦ |
The only way to display multiple fields on the same line is to use the
which will show the IPv4 source address, destination address, and TTL on the same line. If any of those fields are missing, it will show a blank, so, for example, non-IPv4 packets will show a blank line. answered 28 Sep '15, 14:32 Guy Harris ♦♦ |
Yes, I meant an hf item. How to display different hf items in the same line in CLI.