I rename the single dissect() function in packet-nbipx.c, and had packet-ipx.c

call it under fewer circumstances.

svn path=/trunk/; revision=52
This commit is contained in:
Gilbert Ramirez 1998-10-14 04:28:49 +00:00
parent f7d830215e
commit 4dbba72d17
3 changed files with 7 additions and 7 deletions

View File

@ -2,7 +2,7 @@
* Routines for NetWare's IPX
* Gilbert Ramirez <gram@verdict.uthscsa.edu>
*
* $Id: packet-ipx.c,v 1.9 1998/10/14 04:09:12 gram Exp $
* $Id: packet-ipx.c,v 1.10 1998/10/14 04:28:48 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@unicom.net>
@ -88,7 +88,7 @@ static struct port_info ports[] = {
{ 0x0451, dissect_ncp, "NCP" },
{ 0x0452, dissect_sap, "SAP" },
{ 0x0453, dissect_ipxrip, "RIP" },
{ 0x0455, dissect_nbipx, "NetBIOS" },
{ 0x0455, NULL, "NetBIOS" },
{ 0x0456, NULL, "Diagnostic" },
{ 0x0457, NULL, "Serialization" },
{ 0x055d, NULL, "Attachmate Gateway" },
@ -224,7 +224,7 @@ dissect_ipx(const u_char *pd, int offset, frame_data *fd, GtkTree *tree) {
break;
case 20: /* NetBIOS */
dissect_nbipx(pd, offset, fd, tree);
dissect_nbipx_ns(pd, offset, fd, tree);
break;
case 0: /* IPX, fall through to default */

View File

@ -2,7 +2,7 @@
* Routines for NetBIOS over IPX packet disassembly
* Gilbert Ramirez <gram@verdict.uthscsa.edu>
*
* $Id: packet-nbipx.c,v 1.1 1998/10/14 04:09:12 gram Exp $
* $Id: packet-nbipx.c,v 1.2 1998/10/14 04:28:49 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@ -61,7 +61,7 @@ struct nbipx_header {
void
dissect_nbipx(const u_char *pd, int offset, frame_data *fd, GtkTree *tree)
dissect_nbipx_ns(const u_char *pd, int offset, frame_data *fd, GtkTree *tree)
{
GtkWidget *nbipx_tree, *ti;
struct nbipx_header header;

View File

@ -1,7 +1,7 @@
/* packet.h
* Definitions for packet disassembly structures and routines
*
* $Id: packet.h,v 1.14 1998/10/14 04:09:14 gram Exp $
* $Id: packet.h,v 1.15 1998/10/14 04:28:47 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@ -518,7 +518,7 @@ void dissect_ipv6(const u_char *, int, frame_data *, GtkTree *);
void dissect_ipx(const u_char *, int, frame_data *, GtkTree *);
void dissect_llc(const u_char *, int, frame_data *, GtkTree *);
void dissect_lpd(const u_char *, int, frame_data *, GtkTree *);
void dissect_nbipx(const u_char *, int, frame_data *, GtkTree *);
void dissect_nbipx_ns(const u_char *, int, frame_data *, GtkTree *);
void dissect_nbns(const u_char *, int, frame_data *, GtkTree *);
void dissect_ncp(const u_char *, int, frame_data *, GtkTree *);
void dissect_osi(const u_char *, int, frame_data *, GtkTree *);