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.
I want them to be s1 and s2 to be displayed in the same line as
asked 28 Sep '15, 04:03
edited 30 Sep '15, 03:01
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
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 ♦♦