Wireshark-dev: Re: [Wireshark-dev] How do I get my dissector to work in the Display Filter

From: Stephen Fisher <stephentfisher@xxxxxxxxx>
Date: Tue, 30 Jan 2007 12:05:57 -0800
On Tue, Jan 30, 2007 at 01:02:33AM -0900, Hal Lander wrote:

> My plugin heuristic dissector foo seems to work fine, except I cannot 
> filter on it. If I type foo in the filter box the box goes pink. 
> However if I type foo.len (one of my fields), the box goes green. If I 
> click the 'Expression...' button I can see my protocol and all the 
> fields I declared.
> 
> I must be missing some some step registering the protocol, but if I am 
> I don't understand how I can manage to filter on a field. Other 
> plugins seem to let you just type the protocol name and they filter on 
> it, so I should be able to do what I want.
> 
> Anybody got any clues about what I am doing wrong or missing?

What lines are you using to register the protocol?


Steve