diff --git a/packet-udp.c b/packet-udp.c index 81841e48bd..488e6fd863 100644 --- a/packet-udp.c +++ b/packet-udp.c @@ -1,7 +1,7 @@ /* packet-udp.c * Routines for UDP packet disassembly * - * $Id: packet-udp.c,v 1.8 1998/11/17 05:04:04 gerald Exp $ + * $Id: packet-udp.c,v 1.9 1998/11/20 05:58:41 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -100,6 +100,9 @@ dissect_udp(const u_char *pd, int offset, frame_data *fd, GtkTree *tree) { case UDP_PORT_NBNS: dissect_nbns(pd, offset, fd, tree); break; + case UDP_PORT_NBDGM: + dissect_nbdgm(pd, offset, fd, tree); + break; case UDP_PORT_IPX: /* RFC 1234 */ dissect_ipx(pd, offset, fd, tree); break; diff --git a/packet.h b/packet.h index d032635e89..ab7a71f1b6 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.25 1998/11/18 03:01:40 gerald Exp $ + * $Id: packet.h,v 1.26 1998/11/20 05:58:42 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -363,6 +363,7 @@ typedef struct _e_udphdr { #define UDP_PORT_BOOTPS 67 #define UDP_PORT_IPX 213 #define UDP_PORT_NBNS 137 +#define UDP_PORT_NBDGM 138 #define UDP_PORT_RIP 520 /* TCP Ports */ @@ -432,7 +433,8 @@ enum { ETT_NBNS_RR, ETT_NBIPX, ETT_AARP, - ETT_GIOP, + ETT_GIOP, + ETT_NBDGM, NUM_TREE_TYPES /* last item number plus one */ }; @@ -535,6 +537,7 @@ void dissect_ipx(const u_char *, int, frame_data *, GtkTree *); void dissect_giop(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_nbdgm(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 *);