aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ipx.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-04-16 21:37:07 +0000
committerGuy Harris <guy@alum.mit.edu>2000-04-16 21:37:07 +0000
commit4179944c14ac8026099f6416fa80421a29c673b8 (patch)
treed2e0f56a8fdd66d1333dfb17e47b5f53d0181a7a /packet-ipx.c
parenta5719d144800a2b27e98efa3edeafb640d2926ae (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-ipx.c')
-rw-r--r--packet-ipx.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/packet-ipx.c b/packet-ipx.c
index f09c2af008..50d0772c5f 100644
--- a/packet-ipx.c
+++ b/packet-ipx.c
@@ -2,7 +2,7 @@
* Routines for NetWare's IPX
* Gilbert Ramirez <gram@xiexie.org>
*
- * $Id: packet-ipx.c,v 1.53 2000/04/13 18:18:47 gram Exp $
+ * $Id: packet-ipx.c,v 1.54 2000/04/16 21:37:05 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -35,6 +35,7 @@
#include <stdio.h>
#include <glib.h>
#include "etypes.h"
+#include "ppptypes.h"
#include "packet.h"
#include "packet-ipx.h"
#include "packet-nbipx.h"
@@ -975,4 +976,5 @@ proto_reg_handoff_ipx(void)
{
dissector_add("udp.port", UDP_PORT_IPX, dissect_ipx);
dissector_add("ethertype", ETHERTYPE_IPX, dissect_ipx);
+ dissector_add("ppp.protocol", PPP_IPX, dissect_ipx);
}