From 4dbba72d177fc02a6fa06b01b6078748a9aee903 Mon Sep 17 00:00:00 2001 From: Gilbert Ramirez Date: Wed, 14 Oct 1998 04:28:49 +0000 Subject: [PATCH] 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 --- packet-ipx.c | 6 +++--- packet-nbipx.c | 4 ++-- packet.h | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packet-ipx.c b/packet-ipx.c index ff5fd51ccc..7793e42130 100644 --- a/packet-ipx.c +++ b/packet-ipx.c @@ -2,7 +2,7 @@ * Routines for NetWare's IPX * Gilbert Ramirez * - * $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 @@ -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 */ diff --git a/packet-nbipx.c b/packet-nbipx.c index eda8927cfb..2f12c2ccdf 100644 --- a/packet-nbipx.c +++ b/packet-nbipx.c @@ -2,7 +2,7 @@ * Routines for NetBIOS over IPX packet disassembly * Gilbert Ramirez * - * $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 @@ -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; diff --git a/packet.h b/packet.h index 50a54b5289..d837e791dc 100644 --- a/packet.h +++ b/packet.h @@ -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 @@ -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 *);