aboutsummaryrefslogtreecommitdiffstats
path: root/packet-atalk.c
diff options
context:
space:
mode:
authorNathan Neulinger <nneul@umr.edu>1999-12-08 23:25:37 +0000
committerNathan Neulinger <nneul@umr.edu>1999-12-08 23:25:37 +0000
commit18c0f766012edd398f5c3df544072a5de5da1591 (patch)
tree2902ecc5b08bb985439de6263be9aeced90679d4 /packet-atalk.c
parentbe34b4555fbd8595c708bedf8df6b82145edc791 (diff)
downloadwireshark-18c0f766012edd398f5c3df544072a5de5da1591.tar.gz
wireshark-18c0f766012edd398f5c3df544072a5de5da1591.tar.bz2
wireshark-18c0f766012edd398f5c3df544072a5de5da1591.zip
fix stupid atalk typo and remove other proto names stuff
svn path=/trunk/; revision=1249
Diffstat (limited to 'packet-atalk.c')
-rw-r--r--packet-atalk.c25
1 files changed, 13 insertions, 12 deletions
diff --git a/packet-atalk.c b/packet-atalk.c
index fc9fa62a1a..b37ce7115b 100644
--- a/packet-atalk.c
+++ b/packet-atalk.c
@@ -1,7 +1,7 @@
/* packet-atalk.c
* Routines for Appletalk packet disassembly (DDP, currently).
*
- * $Id: packet-atalk.c,v 1.24 1999/12/08 23:21:08 nneul Exp $
+ * $Id: packet-atalk.c,v 1.25 1999/12/08 23:25:37 nneul Exp $
*
* Simon Wilkinson <sxw@dcs.ed.ac.uk>
*
@@ -103,19 +103,17 @@ static const value_string op_vals[] = {
{DDP_RTMPREQ, "AppleTalk Routing Table request"},
{DDP_ZIP, "AppleTalk Zone Information Protocol packet"},
{DDP_ADSP, "AppleTalk Data Stream Protocol"},
-
- /* these are all guesses based on the genbroad.snoop sample capture */
- {0x74, "First Class"},
- {0x32, "StarNine Key"},
- {0x34, "StarNine Key"},
- {0x61, "StarNine Key"},
- {0x45, "Printer Queue"},
- {0x43, "Calendar"},
{0, NULL}
};
static void
-dissect_rtmp(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) {
+dissect_rtmp_request(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) {
+ dissect_data(pd, offset, fd, tree);
+ return;
+}
+
+static void
+dissect_rtmp_data(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) {
dissect_data(pd, offset, fd, tree);
return;
}
@@ -181,10 +179,13 @@ dissect_ddp(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) {
switch ( ddp.type ) {
case DDP_NBP:
- dissect_ddp(pd, offset, fd, tree);
+ dissect_nbp(pd, offset, fd, tree);
break;
case DDP_RTMPREQ:
- dissect_rtmp(pd, offset, fd, tree);
+ dissect_rtmp_request(pd, offset, fd, tree);
+ break;
+ case DDP_RTMPDATA:
+ dissect_rtmp_data(pd, offset, fd, tree);
break;
default:
dissect_data(pd, offset, fd, tree);