aboutsummaryrefslogtreecommitdiffstats
path: root/packet-tcp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-12-07 06:13:19 +0000
committerGuy Harris <guy@alum.mit.edu>1999-12-07 06:13:19 +0000
commite5f812d6ed8a053c239b6e631dc22dc997b5e19f (patch)
tree71ae512a1fc6a6b698cb0d1a1c39c5352a53acca /packet-tcp.c
parentbbce9df3b85e58185ea9d17026ea5222c73d1c70 (diff)
James Coe's patch to add SRVLOC and NCP-over-IP support.
svn path=/trunk/; revision=1234
Diffstat (limited to 'packet-tcp.c')
-rw-r--r--packet-tcp.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/packet-tcp.c b/packet-tcp.c
index cd3f6df678..505bcefb5f 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.50 1999/12/06 23:57:51 nneul Exp $
+ * $Id: packet-tcp.c,v 1.51 1999/12/07 06:10:00 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -97,7 +97,9 @@ static gint ett_tcp_option_sack = -1;
#define TCP_PORT_NBSS 139
#define TCP_PORT_IMAP 143
#define TCP_PORT_BGP 179
+#define TCP_PORT_SRVLOC 427
#define TCP_PORT_PRINTER 515
+#define TCP_PORT_NCP 524
#define TCP_ALT_PORT_HTTP 8080
#define TCP_PORT_PPTP 1723
#define TCP_PORT_RTSP 554
@@ -537,6 +539,12 @@ dissect_tcp(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) {
} else if (PORT_IS(TCP_PORT_IRC)) {
pi.match_port = TCP_PORT_IRC;
dissect_irc(pd, offset, fd, tree);
+ } else if (PORT_IS(TCP_PORT_SRVLOC)) {
+ pi.match_port = TCP_PORT_SRVLOC;
+ dissect_srvloc(pd, offset, fd, tree);
+ } else if (PORT_IS(TCP_PORT_NCP)) {
+ pi.match_port = TCP_PORT_NCP;
+ dissect_ncp(pd, offset, fd, tree);
} else {
/* check existence of high level protocols */