Wireshark-dev: Re: [Wireshark-dev] dissector not shown in 'Analyze', 'Enabled Protocols'

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Mon, 27 Nov 2006 10:14:27 -0800
Guy Harris wrote:

If the protocol is what I suspect it is (given questions she's asked on the tcpdump-workers list, it's probably WiMAX), she might not yet have a value with which to register (yes, I know - right now I'm up to my eyeballs in work and other things; hopefully I should be able to assign a DLT_ value next week),

I've assigned that.

It'll ultimately be

	dissector_add("wtap_encap", {the value I assign}, wimax_handle);

Sorry, it's not the DLT_ value I assign, it'd be a WTAP_ENCAP value.

I've just checked in a change to add a WTAP_ENCAP value for the 802.16 MAC Common Part Sublayer; it's WTAP_ENCAP_IEEE802_16_MAC_CPS, which is what should be used as the second argument to the dissector_add() call.