aboutsummaryrefslogtreecommitdiffstats
path: root/packet-tcp.c
diff options
context:
space:
mode:
authorNathan Neulinger <nneul@umr.edu>1999-11-29 19:43:26 +0000
committerNathan Neulinger <nneul@umr.edu>1999-11-29 19:43:26 +0000
commit117d23c3a12dca20636b7b93e4be75f71991b58b (patch)
tree5c0840f61901128344c4125a57a70558473200d4 /packet-tcp.c
parent172047e2c62c0886f28dc402cbb2fea39de79e07 (diff)
downloadwireshark-117d23c3a12dca20636b7b93e4be75f71991b58b.tar.gz
wireshark-117d23c3a12dca20636b7b93e4be75f71991b58b.tar.bz2
wireshark-117d23c3a12dca20636b7b93e4be75f71991b58b.zip
added start of tns dissector
svn path=/trunk/; revision=1155
Diffstat (limited to 'packet-tcp.c')
-rw-r--r--packet-tcp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/packet-tcp.c b/packet-tcp.c
index 49b1a4f01e..a23002899e 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.47 1999/11/28 03:35:10 gerald Exp $
+ * $Id: packet-tcp.c,v 1.48 1999/11/29 19:43:24 nneul Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -102,6 +102,7 @@ static gint ett_tcp_option_sack = -1;
#define TCP_PORT_RTSP 554
#define TCP_PORT_YHOO 5050
#define TCP_PORT_MAPI 1065
+#define TCP_PORT_TNS 1521
/* TCP structs and definitions */
@@ -525,6 +526,9 @@ dissect_tcp(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) {
} else if (PORT_IS(TCP_PORT_MAPI)) {
pi.match_port = TCP_PORT_MAPI;
dissect_mapi(pd, offset, fd, tree);
+ } else if (PORT_IS(TCP_PORT_TNS)) {
+ pi.match_port = TCP_PORT_TNS;
+ dissect_tns(pd, offset, fd, tree);
} else {
/* check existence of high level protocols */