Wireshark mailing list archives
Re: filtering not working
From: Stig Bjørlykke <stig () bjorlykke org>
Date: Tue, 26 Jan 2010 16:31:06 +0100
On Tue, Jan 26, 2010 at 4:23 PM, Brian Oleksa <oleksab () darkcornersoftware com> wrote:
proto_tree_add_uint_format(helen_sub_tree, hf_helen_sequence_num, tvb, offset, 4, 0, "Sequence #: %d", seq);
You can change this to:
proto_tree_add_uint_format(helen_sub_tree, hf_helen_sequence_num, tvb,
offset, 4, seq,
"Sequence #: %d", seq);
but using proto_tree_add_item() is the preferred method. The _format
functions are for special needs.
--
Stig Bjørlykke
___________________________________________________________________________
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:
- filtering not working Brian Oleksa (Jan 26)
- Re: filtering not working Stig Bjørlykke (Jan 26)
- Re: filtering not working Brian Oleksa (Jan 26)
- Re: filtering not working Stig Bjørlykke (Jan 26)
- Re: filtering not working Brian Oleksa (Jan 26)
- Re: filtering not working Stig Bjørlykke (Jan 26)
