aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2006-05-15 05:27:23 +0000
committerAnders Broman <anders.broman@ericsson.com>2006-05-15 05:27:23 +0000
commit2f568ce9eabbb1e7ff8475e420c9f76ccc7bc89f (patch)
treec4fb24a1aa1276c653a2889fd0ba166f1bd2f3b5
parent654d0bd25d77b3941d761a1e636f87d6ff209119 (diff)
From Jelmer Vernooij:
Add proper dissection for the Ack message in OSCAR's Messaging SNAC family. svn path=/trunk/; revision=18153
-rw-r--r--epan/dissectors/packet-aim-messaging.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/epan/dissectors/packet-aim-messaging.c b/epan/dissectors/packet-aim-messaging.c
index a55ae28e52..ba5c761c17 100644
--- a/epan/dissectors/packet-aim-messaging.c
+++ b/epan/dissectors/packet-aim-messaging.c
@@ -478,6 +478,20 @@ int dissect_aim_tlv_value_extended_data ( proto_item *ti, guint16 valueid _U_, t
return offset;
}
+static int dissect_aim_msg_ack(tvbuff_t *tvb, packet_info *pinfo, proto_tree *msg_tree)
+{
+ int offset = 0;
+
+ proto_tree_add_item(msg_tree,hf_aim_icbm_cookie, tvb, offset, 8, FALSE); offset+=8;
+
+ proto_tree_add_item(msg_tree, hf_aim_message_channel_id, tvb, offset, 2,
+ FALSE); offset += 2;
+
+ offset = dissect_aim_buddyname(tvb, pinfo, offset, msg_tree);
+
+ return offset;
+}
+
static int dissect_aim_msg_clientautoresp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *msg_tree)
{
int offset = 0;
@@ -514,7 +528,7 @@ static const aim_subtype aim_fnac_family_messaging[] = {
{ 0x0009, "Evil Response", dissect_aim_msg_evil_repl },
{ 0x000a, "Missed Call", NULL },
{ 0x000b, "Client Auto Response", dissect_aim_msg_clientautoresp },
- { 0x000c, "Acknowledge", NULL },
+ { 0x000c, "Acknowledge", dissect_aim_msg_ack },
{ 0x0014, "Mini Typing Notifications (MTN)", dissect_aim_msg_minityping },
{ 0, NULL, NULL }
};