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-ip.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-ip.c')
-rw-r--r-- | packet-ip.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packet-ip.c b/packet-ip.c index 3fac5a22d7..a23d4894af 100644 --- a/packet-ip.c +++ b/packet-ip.c @@ -1,7 +1,7 @@ /* packet-ip.c * Routines for IP and miscellaneous IP protocol packet disassembly * - * $Id: packet-ip.c,v 1.79 2000/04/13 18:18:45 gram Exp $ + * $Id: packet-ip.c,v 1.80 2000/04/16 21:37:03 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -51,6 +51,7 @@ #endif #include "etypes.h" +#include "ppptypes.h" #include "packet-gre.h" #include "packet-ip.h" #include "packet-ipsec.h" @@ -1521,6 +1522,7 @@ void proto_reg_handoff_ip(void) { dissector_add("ethertype", ETHERTYPE_IP, dissect_ip); + dissector_add("ppp.protocol", PPP_IP, dissect_ip); } void |