diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-04-16 21:37:07 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-04-16 21:37:07 +0000 |
commit | 4179944c14ac8026099f6416fa80421a29c673b8 (patch) | |
tree | d2e0f56a8fdd66d1333dfb17e47b5f53d0181a7a /packet-atalk.c | |
parent | a5719d144800a2b27e98efa3edeafb640d2926ae (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()".
svn path=/trunk/; revision=1869
Diffstat (limited to 'packet-atalk.c')
-rw-r--r-- | packet-atalk.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packet-atalk.c b/packet-atalk.c index e07046630d..b599f84837 100644 --- a/packet-atalk.c +++ b/packet-atalk.c @@ -1,7 +1,7 @@ /* packet-atalk.c * Routines for Appletalk packet disassembly (DDP, currently). * - * $Id: packet-atalk.c,v 1.32 2000/04/13 18:18:44 gram Exp $ + * $Id: packet-atalk.c,v 1.33 2000/04/16 21:37:03 guy Exp $ * * Simon Wilkinson <sxw@dcs.ed.ac.uk> * @@ -36,6 +36,7 @@ #include "packet.h" #include "packet-atalk.h" #include "etypes.h" +#include "ppptypes.h" static int proto_ddp = -1; static int hf_ddp_hopcount = -1; @@ -561,4 +562,5 @@ void proto_reg_handoff_atalk(void) { dissector_add("ethertype", ETHERTYPE_ATALK, dissect_ddp); + dissector_add("ppp.protocol", PPP_AT, dissect_ddp); } |