The family and subtype fields in AIM messages are 16-bit fields, and
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 20 Jan 2002 23:42:51 +0000 (23:42 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 20 Jan 2002 23:42:51 +0000 (23:42 +0000)
apparently specified in hex; display them as such in the Info column.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4583 f5534014-38df-0310-8fa8-9805f1628bb7

packet-aim.c

index e62065fb7b548ffd53d4d5739e6a3a99b063fdb9..7a09966eae5ff27ea577af6e77a0fbfb14c9c7a3 100644 (file)
@@ -2,7 +2,7 @@
  * Routines for AIM Instant Messenger (OSCAR) dissection
  * Copyright 2000, Ralf Hoelzer <ralf@well.com>
  *
- * $Id: packet-aim.c,v 1.11 2001/12/10 00:25:26 guy Exp $
+ * $Id: packet-aim.c,v 1.12 2002/01/20 23:42:51 guy Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -181,7 +181,7 @@ static void dissect_aim(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
 
 
-      if (check_col(pinfo->cinfo, COL_INFO)) col_add_fstr(pinfo->cinfo, COL_INFO, "Family: %d - Subtype: %d (unknown)", family, subtype);
+      if (check_col(pinfo->cinfo, COL_INFO)) col_add_fstr(pinfo->cinfo, COL_INFO, "Family: 0x%04x - Subtype: 0x%04x (unknown)", family, subtype);
       
         switch(family)
         {