Hi,
The attached patch adds proper dissection for the Ack message in OSCAR's
Messaging SNAC family.
Cheers,
Jelmer
--
Jelmer Vernooij <jelmer@xxxxxxxxx> - http://samba.org/~jelmer/
Index: epan/dissectors/packet-aim-messaging.c
===================================================================
--- epan/dissectors/packet-aim-messaging.c (revision 18143)
+++ epan/dissectors/packet-aim-messaging.c (working copy)
@@ -478,6 +478,20 @@
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 @@
{ 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 }
};
Attachment:
signature.asc
Description: This is a digitally signed message part