diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-11-17 06:02:21 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-11-17 06:02:21 +0000 |
commit | d50abaf3f4760996163539c90f4c982f2eaba4e6 (patch) | |
tree | e100d9c5b026a703e9a005330eed9e9cfe1595e0 /packet-ipv6.c | |
parent | d9397635456a565fcd8f09f24e9ec26919ed6d5f (diff) | |
download | wireshark-d50abaf3f4760996163539c90f4c982f2eaba4e6.tar.gz wireshark-d50abaf3f4760996163539c90f4c982f2eaba4e6.tar.bz2 wireshark-d50abaf3f4760996163539c90f4c982f2eaba4e6.zip |
Give the "null" link-layer header dissector a dissector table, and put
the BSD AF_ type values it uses into an "aftypes.h" header file for
dissectors that register themselves in that dissector table include.
svn path=/trunk/; revision=2653
Diffstat (limited to 'packet-ipv6.c')
-rw-r--r-- | packet-ipv6.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packet-ipv6.c b/packet-ipv6.c index 3668bcfb73..51aa504988 100644 --- a/packet-ipv6.c +++ b/packet-ipv6.c @@ -1,7 +1,7 @@ /* packet-ipv6.c * Routines for IPv6 packet disassembly * - * $Id: packet-ipv6.c,v 1.44 2000/11/11 10:23:41 guy Exp $ + * $Id: packet-ipv6.c,v 1.45 2000/11/17 06:02:20 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -44,6 +44,7 @@ #include <glib.h> #include "etypes.h" #include "ppptypes.h" +#include "aftypes.h" #include "packet.h" #include "packet-ip.h" #include "packet-ipsec.h" @@ -495,5 +496,7 @@ proto_reg_handoff_ipv6(void) old_dissector_add("ethertype", ETHERTYPE_IPv6, dissect_ipv6); old_dissector_add("ppp.protocol", PPP_IPV6, dissect_ipv6); old_dissector_add("ip.proto", IP_PROTO_IPV6, dissect_ipv6); + old_dissector_add("null.type", BSD_AF_INET6_BSD, dissect_ipv6); + old_dissector_add("null.type", BSD_AF_INET6_FREEBSD, dissect_ipv6); old_dissector_add("ip.proto", IP_PROTO_NONE, dissect_ipv6_none); } |