diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-04-16 21:37:07 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-04-16 21:37:07 +0000 |
commit | ce584eddef858e03ccfff63bce2a6810cd6627da (patch) | |
tree | d2e0f56a8fdd66d1333dfb17e47b5f53d0181a7a /packet-ipv6.c | |
parent | 9819d8d7dcac89c1d66babc74a0ca22062e131cd (diff) |
Register a "ppp.protocol" dissector table for PPP, and have dissectors
for protocols that run inside PPP register themselves with it using
"dissector_add()".
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1869 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-ipv6.c')
-rw-r--r-- | packet-ipv6.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packet-ipv6.c b/packet-ipv6.c index 7a58a5426e..06f0b97feb 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.32 2000/04/13 18:18:46 gram Exp $ + * $Id: packet-ipv6.c,v 1.33 2000/04/16 21:37:04 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -43,6 +43,7 @@ #include <stdio.h> #include <glib.h> #include "etypes.h" +#include "ppptypes.h" #include "packet.h" #include "packet-icmpv6.h" #include "packet-ip.h" @@ -476,4 +477,5 @@ void proto_reg_handoff_ipv6(void) { dissector_add("ethertype", ETHERTYPE_IPv6, dissect_ipv6); + dissector_add("ppp.protocol", PPP_IPV6, dissect_ipv6); } |