summaryrefslogtreecommitdiff
path: root/packet-atalk.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-10-29 05:25:59 +0000
committerGuy Harris <guy@alum.mit.edu>1999-10-29 05:25:59 +0000
commit62df24872c03927ab8af2ed52d0f4e253c98bf73 (patch)
treed09b3cd8de14ecf508d2610fd715a8b176fe912f /packet-atalk.c
parent5f6c1e26deb70dcf38ae379abb83f7056c39fda0 (diff)
downloadwireshark-62df24872c03927ab8af2ed52d0f4e253c98bf73.tar.gz
Give DDP packets their own ETT_ type, rather than using ETT_IP.
Call "dissect_data()" on the payload of a DDP packet. svn path=/trunk/; revision=948
Diffstat (limited to 'packet-atalk.c')
-rw-r--r--packet-atalk.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/packet-atalk.c b/packet-atalk.c
index a583cfd693..40dfd689bc 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.17 1999/10/22 08:18:26 guy Exp $
+ * $Id: packet-atalk.c,v 1.18 1999/10/29 05:25:58 guy Exp $
*
* Simon Wilkinson <sxw@dcs.ed.ac.uk>
*
@@ -141,7 +141,7 @@ dissect_ddp(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) {
if (tree) {
ti = proto_tree_add_item(tree, proto_ddp, offset, DDP_HEADER_SIZE, NULL);
- ddp_tree = proto_item_add_subtree(ti, ETT_IP);
+ ddp_tree = proto_item_add_subtree(ti, ETT_DDP);
proto_tree_add_item(ddp_tree, hf_ddp_hopcount, offset, 1,
ddp_hops(ddp.hops_len));
proto_tree_add_item(ddp_tree, hf_ddp_len, offset, 2,
@@ -158,6 +158,7 @@ dissect_ddp(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) {
offset += DDP_HEADER_SIZE;
+ dissect_data(pd, offset, fd, tree);
}
void