interlink type is decimal
authorgirlich <girlich@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 22 Sep 2010 07:18:49 +0000 (07:18 +0000)
committergirlich <girlich@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 22 Sep 2010 07:18:49 +0000 (07:18 +0000)
some keyword substitution added

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

plugins/interlink/packet-interlink.c

index 97250f41ae750280ca4bd515616bd0d3a29088cd..a77ea764d052956cb4fbf3bc76e95108f7edd62a 100644 (file)
@@ -137,7 +137,7 @@ dissect_interlink(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        ilb_type = tvb_get_guint8(tvb, offset);
        ilb_version = tvb_get_guint8(tvb, offset + 1);
        type_version = ilb_type << 8 | ilb_version;
-       col_append_fstr(pinfo->cinfo, COL_INFO, "Type: 0x%02x, Version: %d",
+       col_append_fstr(pinfo->cinfo, COL_INFO, "Type: %d, Version: %d",
                ilb_type, ilb_version);
 
        if (ilb_tree) {
@@ -209,7 +209,7 @@ proto_register_interlink(void)
                        16, TFS(&flags_set_notset), 0x02, NULL, HFILL }},
                { &hf_interlink_block_type, {
                        "Type", "interlink.type", FT_UINT8,
-                       BASE_HEX, NULL, 0, NULL, HFILL }},
+                       BASE_DEC, NULL, 0, NULL, HFILL }},
                { &hf_interlink_block_version, {
                        "Version", "interlink.block_version", FT_UINT8,
                        BASE_DEC, NULL, 0, NULL, HFILL }},