Wireshark mailing list archives

To display reserved fields or not display reserved fields, that is the question...


From: Kaul <mykaul () gmail com>
Date: Sun, 8 Dec 2013 17:53:39 +0200

Should I:

proto_tree_add_text(seg_param_tree, tvb, offset, 2, "reserved");
offset += 2;

or:
offset += 2; /* reserved */

What is better? (Regretully I'm working on SCSI, whose creators LOVED
sprinkling reserved bytes everywhere!).


Do we have a standard? (perhaps worth having a global param for it?!).
Y.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: