On 02/20/2014 01:45 AM, Guy Harris wrote:
> 
> 
> An additional API might be
> 
>       proto_tree_add_mbz(tree, tvb, offset, len);
> 
> which is similar, but doesn't display the value unless it's non-zero, *and* 
> adds an expert info item if it's non-zero.

This get's my +1, has been on my wish-list for a while.

Only problem is that it needs the pinfo because of the expert item...

Thanks,
Jaap

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to