Wireshark mailing list archives

Re: myProtocol_handle = find_dissector("myprotocol"); is NULL


From: Guy Harris <guy () alum mit edu>
Date: Thu, 10 Dec 2009 13:45:49 -0800


On Dec 10, 2009, at 1:35 PM, Posey, Nolan John, Jr (Nolan) wrote:

What am I doing wrong with the registration?

Not registering the "mgw" dissector by name in proto_register_mgw().   
(No, registering the *protocol* won't register the *dissector*.  There  
is not a one-to-one correspondence between protocols and dissectors;  
some protocols have more than one dissector.  And, no,  
create_dissector_handle() won't register it by name, either.)
___________________________________________________________________________
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: