Some probably-erroneous TRUEs as the last argument to
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 19 Sep 2011 09:55:36 +0000 (09:55 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 19 Sep 2011 09:55:36 +0000 (09:55 +0000)
proto_tree_add_item(); the items were one byte long, so the byte order
is irrelevant.

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

epan/dissectors/packet-3g-a11.c

index 0e61865a1ecd9513494dfd42af16af34a67e8250..5ec90df157f73518a9b8acf4dbde2e0d091ac155 100644 (file)
@@ -1130,7 +1130,7 @@ static void dissect_fwd_qosinfo(tvbuff_t* tvb, int offset, proto_tree* ext_tree)
             proto_tree_add_text(exts_tree3, tvb, offset+clen, granted_qos_len, "Forward Granted QoS Sub Blob");
 
             /* QoS attribute setid */
-            proto_tree_add_item(exts_tree3, hf_a11_fqi_qos_granted_attribute_setid, tvb, offset+clen, 1, TRUE);
+            proto_tree_add_item(exts_tree3, hf_a11_fqi_qos_granted_attribute_setid, tvb, offset+clen, 1, ENC_BIG_ENDIAN);
             clen++;
         }
     }
@@ -1238,7 +1238,7 @@ static void dissect_rev_qosinfo(tvbuff_t* tvb, int offset, proto_tree* ext_tree)
             proto_tree_add_text(exts_tree3, tvb, offset+clen, granted_qos_len, "Reverse Granted QoS Sub Blob");
 
             /* QoS attribute setid */
-            proto_tree_add_item(exts_tree3, hf_a11_rqi_qos_granted_attribute_setid, tvb, offset+clen, 1, TRUE);
+            proto_tree_add_item(exts_tree3, hf_a11_rqi_qos_granted_attribute_setid, tvb, offset+clen, 1, ENC_BIG_ENDIAN);
             clen++;
         }
     }