diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-03-23 07:23:43 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-03-23 07:23:43 +0000 |
commit | 71064677a8d92040ae72a19060588b4807d87e76 (patch) | |
tree | 0d9ec2827dc7567c2c66fb94b202b4d833683d0c /packet-aim.c | |
parent | 3965ce4a8c66516e85adc4f0b27f50582a157f35 (diff) |
The dissectors for particular AIM families aren't for real protocols,
and they don't create their own subtrees; hand them the pointer to the
AIM subtree, rather than the top-level tree, so they'll put the protocol
tree items in the AIM subtree.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10452 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-aim.c')
-rw-r--r-- | packet-aim.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-aim.c b/packet-aim.c index 3f36321ae2..053be1f88d 100644 --- a/packet-aim.c +++ b/packet-aim.c @@ -3,7 +3,7 @@ * Copyright 2000, Ralf Hoelzer <ralf@well.com> * Copyright 2004, Jelmer Vernooij <jelmer@samba.org> * - * $Id: packet-aim.c,v 1.34 2004/03/23 06:21:17 guy Exp $ + * $Id: packet-aim.c,v 1.35 2004/03/23 07:23:43 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -613,7 +613,7 @@ static void dissect_aim_snac(tvbuff_t *tvb, packet_info *pinfo, else col_append_fstr(pinfo->cinfo, COL_INFO, ", Subtype: 0x%04x", subtype); } - if(tvb_length_remaining(tvb,offset) == 0 || !dissector_try_port(subdissector_table, family, subtvb, pinfo, root_tree)) { + if(tvb_length_remaining(tvb,offset) == 0 || !dissector_try_port(subdissector_table, family, subtvb, pinfo, aim_tree)) { /* Show the undissected payload */ if (tvb_length_remaining(tvb, offset) > 0) proto_tree_add_item(aim_tree, hf_aim_data, tvb, offset, -1, FALSE); |