Wireshark-dev: Re: [Wireshark-dev] cannot get a handle on HTTP dissector
From: "Steve Grinwis" <[email protected]>
Date: Mon, 17 Jul 2006 14:44:41 -0400
Hi there,

Thanks for the timely response.

There does not appear to be any find_dissector("http") calls anywhere in
the dissector code that I have.  Looking at the packet-http.c code, it
appears as though it doesn't ever register http?   
register_dissector("http", dissect_http, proto_http);


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Ulf Lamping
Sent: Monday, July 17, 2006 2:25 PM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] cannot get a handle on HTTP dissector

Steve Grinwis wrote:
> Hi all,
> 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. I don't think that it's my syntax, because I get a valid

> handle when I call it for "ip". Is there a good reason why I can't do 
> this?
You may look at other places/dissectors using "find_dissector("http");"

Regards, ULFL
Wireshark-dev mailing list
[email protected]

This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.