I am writing my own dissector for a TLV format, where generally the 
value is a integer.
So all I currently print is a TAG , its LENGTH (in decimal) and VALUE 
(in HEX).

One of the tags is a bit-map of valid ports. Hence the value is really a 
port indicator, where each bit
corresponds to a port. And if set the port is valid.
I want to display something like valid ports : 1-12,14-23,30,31 in the 
message decode window.

Could somebody help me on this.

regards
Amit
_______________________________________________
Wireshark-dev mailing list
[email protected]
http://www.wireshark.org/mailman/listinfo/wireshark-dev

Reply via email to