Steve Grinwis wrote:

> I’m writing a dissector for a protocol that has an HTTP payload that I 
> would like to dissect,  But when I call find_dissector(“http”);  it 
> returns NULL.

Are you calling this in the register routine or the register-handoff 
routine?  There's no guarantee that any given find_dissector() call 
(other than calls to a dissector you just registered in the same 
routine) will succeed in a register routine, because there's no 
guarantee of the order in which register routines are called.  However, 
no register-handoff routines are called until all the register routines 
are called.
_______________________________________________
Wireshark-dev mailing list
[email protected]
http://www.wireshark.org/mailman/listinfo/wireshark-dev

Reply via email to