Fix for bug 3085:
authorjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 3 Dec 2008 07:08:33 +0000 (07:08 +0000)
committerjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 3 Dec 2008 07:08:33 +0000 (07:08 +0000)
Correct interpretation of QoS T-bit.

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

epan/dissectors/packet-bssgp.c

index 02a414cd794e5b19e7ef506380a9e391a7389c9f..78207c46e9ec846a84559e41ccbeb4b884c5cdcd 100644 (file)
@@ -2777,9 +2777,7 @@ decode_iei_qos_profile(bssgp_ie_t *ie, build_info_t *bi, int ie_start_offset) {
   value = get_masked_guint8(data, MASK_T_BIT);
   pi = proto_tree_add_bitfield8(tf, bi->tvb, bi->offset, MASK_T_BIT);
   proto_item_append_text(pi, "T: The SDU contains %s",
-                        value == 0 ?
-                        "data" :
-                        "signalling (e.g. related to GMM)");
+                        value == 0 ? "signalling (e.g. related to GMM)" : "data");
 
   value = get_masked_guint8(data, MASK_A_BIT);
   pi = proto_tree_add_bitfield8(tf, bi->tvb, bi->offset, MASK_A_BIT);