Wireshark mailing list archives

Re: filtering not working


From: Stig Bjørlykke <stig () bjorlykke org>
Date: Tue, 26 Jan 2010 16:08:47 +0100

On Tue, Jan 26, 2010 at 3:58 PM, Brian Oleksa
<oleksab () darkcornersoftware com> wrote:
proto_tree_add_string_format(helen_sub_tree, hf_helen_flowname, tvb,
offset, 8, 0,
      "Flowname: %s", flowname);

You feed proto_tree_add_string_format with value = 0, and a pointer to
NULL will not match "SA_EX" .  Try this:

proto_tree_add_item(helen_sub_tree, hf_helen_flowname, tvb, offset, 8, FALSE);


-- 
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: