ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] filtering not working

From: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
Date: Tue, 26 Jan 2010 16:08:47 +0100
On Tue, Jan 26, 2010 at 3:58 PM, Brian Oleksa
<oleksab@xxxxxxxxxxxxxxxxxxxxxx> 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