Wireshark-dev: Re: [Wireshark-dev] ssl decryption in a dissector
Date Prev · Date Next · Thread Prev · Thread Next
From: Peter Wu <peter@xxxxxxxxxxxxx>
Date: Thu, 1 Aug 2019 00:06:49 +0100
On Wed, Jul 31, 2019 at 09:35:18AM +0900, Sebastiano Di Paola wrote:

> > As for why create_dissector_handle did not work, it does not add a name.
> > register_dissector does the same as create_dissector_handle, but
> > additionally adds a name, enabling things such as Decode As.
> >
> 
> So this means that both should work right?

No, you must use register_dissector as create_dissector_handle fails to
set the name.
-- 
Kind regards,
Peter Wu
https://lekensteyn.nl