diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-04-16 22:46:25 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-04-16 22:46:25 +0000 |
commit | f1479c8417f3bd42c45df08ab318852008b378f5 (patch) | |
tree | aa09ab7e91aa70df10e78c4ee02b0eabfda0c8db /packet-ipv6.c | |
parent | ce584eddef858e03ccfff63bce2a6810cd6627da (diff) |
Register an "ip.proto" dissector table for IPv4, and have dissectors for
protocols that run inside IPv4 register themselves with it using
"dissector_add()".
Make various dissectors static if they can be, and get rid of any header
files that no longer contain any information as a result of that change.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1870 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-ipv6.c')
-rw-r--r-- | packet-ipv6.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packet-ipv6.c b/packet-ipv6.c index 06f0b97feb..35226668ac 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.33 2000/04/16 21:37:04 guy Exp $ + * $Id: packet-ipv6.c,v 1.34 2000/04/16 22:46:20 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -478,4 +478,5 @@ proto_reg_handoff_ipv6(void) { dissector_add("ethertype", ETHERTYPE_IPv6, dissect_ipv6); dissector_add("ppp.protocol", PPP_IPV6, dissect_ipv6); + dissector_add("ip.proto", IP_PROTO_IPV6, dissect_ipv6); } |