diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-04-30 03:16:03 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-04-30 03:16:03 +0000 |
commit | 5958b839bc4917711bcc2759893ab2bdb9b420db (patch) | |
tree | 9cb65b6f2e038b87f2957139055a12553eeb05e1 /packet-tcp.c | |
parent | 11fb59172338fdec9b6249ca8bee3b404b8b236c (diff) | |
download | wireshark-5958b839bc4917711bcc2759893ab2bdb9b420db.tar.gz wireshark-5958b839bc4917711bcc2759893ab2bdb9b420db.tar.bz2 wireshark-5958b839bc4917711bcc2759893ab2bdb9b420db.zip |
Add support for the NetBIOS Session Service.
Improve the descriptions of the NetBIOS Name Service errors a bit.
svn path=/trunk/; revision=247
Diffstat (limited to 'packet-tcp.c')
-rw-r--r-- | packet-tcp.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/packet-tcp.c b/packet-tcp.c index 85d0919117..8793c62fe9 100644 --- a/packet-tcp.c +++ b/packet-tcp.c @@ -1,7 +1,7 @@ /* packet-tcp.c * Routines for TCP packet disassembly * - * $Id: packet-tcp.c,v 1.20 1999/04/06 02:02:11 guy Exp $ + * $Id: packet-tcp.c,v 1.21 1999/04/30 03:16:02 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -70,6 +70,7 @@ static int info_len; #define TCP_PORT_HTTP 80 #define TCP_PORT_POP 110 #define TCP_PORT_NNTP 119 +#define TCP_PORT_NBSS 139 #define TCP_PORT_PRINTER 515 #define TCP_ALT_PORT_HTTP 8080 @@ -490,6 +491,11 @@ dissect_tcp(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) { case TCP_ALT_PORT_HTTP: dissect_http(pd, offset, fd, tree); break; + + case TCP_PORT_NBSS: + pi.match_port = TCP_PORT_NBSS; + dissect_nbss(pd, offset, fd, tree, payload); + break; default: /* check existence of high level protocols */ |