diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-05-30 03:35:55 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-05-30 03:35:55 +0000 |
commit | 049fba89034b23e608eb8a73ec374f0f4a56476d (patch) | |
tree | c0e05a11792c41f2f8041d360f362322f93b4ef4 /packet-ncp.c | |
parent | 3c45bf2f9fbbed92da53415514f691d86f322dd4 (diff) |
Give the IPX dissector dissector hash tables for the IPX type and socket
number, and have the protocols encapsulated inside IPX register
themselves with that table.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2028 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-ncp.c')
-rw-r--r-- | packet-ncp.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packet-ncp.c b/packet-ncp.c index d36accadca..b8c04b521a 100644 --- a/packet-ncp.c +++ b/packet-ncp.c @@ -3,7 +3,7 @@ * Gilbert Ramirez <gram@xiexie.org> * Modified to allow NCP over TCP/IP decodes by James Coe <jammer@cin.net> * - * $Id: packet-ncp.c,v 1.35 2000/05/11 08:15:26 gram Exp $ + * $Id: packet-ncp.c,v 1.36 2000/05/30 03:35:53 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -43,7 +43,6 @@ #include "packet.h" #include "conversation.h" #include "packet-ipx.h" -#include "packet-ncp.h" static int proto_ncp = -1; static int hf_ncp_ip_ver = -1; @@ -531,7 +530,7 @@ ncp2222_find(guint8 func, guint8 subfunc) return retval; } -void +static void dissect_ncp(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) { proto_tree *ncp_tree = NULL; @@ -1070,4 +1069,6 @@ proto_reg_handoff_ncp(void) { dissector_add("tcp.port", TCP_PORT_NCP, dissect_ncp); dissector_add("udp.port", UDP_PORT_NCP, dissect_ncp); + dissector_add("ipx.packet_type", IPX_PACKET_TYPE_NCP, dissect_ncp); + dissector_add("ipx.socket", IPX_SOCKET_NCP, dissect_ncp); } |