Ethereal-users: Re: [Ethereal-users] bug in CHDLC dissector in IPv6 decapsulating ?

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Guy Harris" <gharris@xxxxxxxxx>
Date: Thu, 9 Sep 2004 13:27:06 -0700 (PDT)
Xavier Heiny said:
> After having a look at chdlc dissector ( packet-chdlc.c ),
> I am a bit surprised not to see the ETHERTYPE_IPV6 in :
>
> const value_string chdlc_vals[] = {

    ...

> Is there a bug in IPv6 decapsulation or is it done elsewhere ?

It's done elsewhere:

    % egrep chdlctype epan/dissectors/packet-ipv6.c
      dissector_add("chdlctype", ETHERTYPE_IPv6, ipv6_handle);

"chdlc_vals[]" is used only to show the value of the type field
symbolically.  It should be updated to include all type values for which
dissectors register with "chdlctype".