Do some more conversions of proto_tree_add_item() 'encoding' arg
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 18 Oct 2011 00:39:20 +0000 (00:39 +0000)
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 18 Oct 2011 00:39:20 +0000 (00:39 +0000)
  (previously missed).

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

asn1/ansi_map/packet-ansi_map-template.c
asn1/smrse/packet-smrse-template.c
epan/dissectors/packet-ansi_map.c
epan/dissectors/packet-smrse.c

index 60e5d2d78f5ed212ec1e61e68ac62f00be259d20..05e8fa8c14cdc4d0a5de80f333777c31ec466e0b 100644 (file)
@@ -1238,25 +1238,25 @@ dissect_ansi_map_callingfeaturesindicator(tvbuff_t *tvb, packet_info *pinfo _U_,
     subtree = proto_item_add_subtree(actx->created_item, ett_mscid);
 
     /* Call Waiting: FeatureActivity, CW-FA (Octet 1 bits GH )          */
     subtree = proto_item_add_subtree(actx->created_item, ett_mscid);
 
     /* Call Waiting: FeatureActivity, CW-FA (Octet 1 bits GH )          */
-    proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_cwfa, tvb, offset, 1, FALSE);
+    proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_cwfa, tvb, offset, 1, ENC_BIG_ENDIAN);
     /* Call Forwarding No Answer FeatureActivity, CFNA-FA (Octet 1 bits EF )    */
     /* Call Forwarding No Answer FeatureActivity, CFNA-FA (Octet 1 bits EF )    */
-    proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_cfnafa, tvb, offset, 1, FALSE);
+    proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_cfnafa, tvb, offset, 1, ENC_BIG_ENDIAN);
     /* Call Forwarding Busy FeatureActivity, CFB-FA (Octet 1 bits CD )  */
     /* Call Forwarding Busy FeatureActivity, CFB-FA (Octet 1 bits CD )  */
-    proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_cfbfa, tvb, offset, 1, FALSE);
+    proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_cfbfa, tvb, offset, 1, ENC_BIG_ENDIAN);
     /* Call Forwarding Unconditional FeatureActivity, CFU-FA (Octet 1 bits AB ) */
     /* Call Forwarding Unconditional FeatureActivity, CFU-FA (Octet 1 bits AB ) */
-    proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_cfufa, tvb, offset, 1, FALSE);
+    proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_cfufa, tvb, offset, 1, ENC_BIG_ENDIAN);
     offset++;
     length--;
 
     /* Call Transfer: FeatureActivity, CT-FA (Octet 2 bits GH )         */
     offset++;
     length--;
 
     /* Call Transfer: FeatureActivity, CT-FA (Octet 2 bits GH )         */
-    proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_ctfa, tvb, offset, 1, FALSE);
+    proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_ctfa, tvb, offset, 1, ENC_BIG_ENDIAN);
     /* Voice Privacy FeatureActivity, VP-FA (Octet 2 bits EF )  */
     /* Voice Privacy FeatureActivity, VP-FA (Octet 2 bits EF )  */
-    proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_vpfa, tvb, offset, 1, FALSE);
+    proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_vpfa, tvb, offset, 1, ENC_BIG_ENDIAN);
     /* Call Delivery: FeatureActivity (not interpreted on reception by IS-41-C or later)
        CD-FA (Octet 2 bits CD )         */
     /* Call Delivery: FeatureActivity (not interpreted on reception by IS-41-C or later)
        CD-FA (Octet 2 bits CD )         */
-    proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_cdfa, tvb, offset, 1, FALSE);
+    proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_cdfa, tvb, offset, 1, ENC_BIG_ENDIAN);
     /* Three-Way Calling FeatureActivity, 3WC-FA (Octet 2 bits AB )     */
     /* Three-Way Calling FeatureActivity, 3WC-FA (Octet 2 bits AB )     */
-    proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_3wcfa, tvb, offset, 1, FALSE);
+    proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_3wcfa, tvb, offset, 1, ENC_BIG_ENDIAN);
     offset++;
     length--;
 
     offset++;
     length--;
 
@@ -2912,7 +2912,7 @@ dissect_ansi_map_cdmaserviceoption(tvbuff_t *tvb, packet_info *pinfo _U_, proto_
 
     subtree = proto_item_add_subtree(actx->created_item, ett_cdmaserviceoption);
 
 
     subtree = proto_item_add_subtree(actx->created_item, ett_cdmaserviceoption);
 
-    proto_tree_add_item(subtree, hf_ansi_map_cdmaserviceoption, tvb, offset, 2, FALSE);
+    proto_tree_add_item(subtree, hf_ansi_map_cdmaserviceoption, tvb, offset, 2, ENC_BIG_ENDIAN);
 
 
 }
 
 
 }
index 6469bfa2debcb851e5e1f8044d12ebf75595ede0..aa6028b00ce13cc9e8bd8e5b9ea5034969dd1fd1 100644 (file)
@@ -99,7 +99,7 @@ dissect_smrse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
        if (check_col(pinfo->cinfo, COL_INFO))
                col_add_str(pinfo->cinfo, COL_INFO, val_to_str(tag, tag_vals,"Unknown Tag:0x%02x"));
 
        if (check_col(pinfo->cinfo, COL_INFO))
                col_add_str(pinfo->cinfo, COL_INFO, val_to_str(tag, tag_vals,"Unknown Tag:0x%02x"));
 
-       proto_tree_add_item(tree, hf_smrse_reserved, tvb, 0, 1, FALSE);
+       proto_tree_add_item(tree, hf_smrse_reserved, tvb, 0, 1, ENC_BIG_ENDIAN);
        proto_tree_add_item(tree, hf_smrse_length, tvb, 1, 2, ENC_BIG_ENDIAN);
        proto_tree_add_item(tree, hf_smrse_tag, tvb, 3, 1, ENC_BIG_ENDIAN);
 
        proto_tree_add_item(tree, hf_smrse_length, tvb, 1, 2, ENC_BIG_ENDIAN);
        proto_tree_add_item(tree, hf_smrse_tag, tvb, 3, 1, ENC_BIG_ENDIAN);
 
index 460f5c6e71c16110bdc108a95bc43f380cde82f2..c9e34e1a21d281124e341a9d8c9e8e76156a6ca3 100644 (file)
@@ -2026,25 +2026,25 @@ dissect_ansi_map_callingfeaturesindicator(tvbuff_t *tvb, packet_info *pinfo _U_,
     subtree = proto_item_add_subtree(actx->created_item, ett_mscid);
 
     /* Call Waiting: FeatureActivity, CW-FA (Octet 1 bits GH )          */
     subtree = proto_item_add_subtree(actx->created_item, ett_mscid);
 
     /* Call Waiting: FeatureActivity, CW-FA (Octet 1 bits GH )          */
-    proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_cwfa, tvb, offset, 1, FALSE);
+    proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_cwfa, tvb, offset, 1, ENC_BIG_ENDIAN);
     /* Call Forwarding No Answer FeatureActivity, CFNA-FA (Octet 1 bits EF )    */
     /* Call Forwarding No Answer FeatureActivity, CFNA-FA (Octet 1 bits EF )    */
-    proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_cfnafa, tvb, offset, 1, FALSE);
+    proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_cfnafa, tvb, offset, 1, ENC_BIG_ENDIAN);
     /* Call Forwarding Busy FeatureActivity, CFB-FA (Octet 1 bits CD )  */
     /* Call Forwarding Busy FeatureActivity, CFB-FA (Octet 1 bits CD )  */
-    proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_cfbfa, tvb, offset, 1, FALSE);
+    proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_cfbfa, tvb, offset, 1, ENC_BIG_ENDIAN);
     /* Call Forwarding Unconditional FeatureActivity, CFU-FA (Octet 1 bits AB ) */
     /* Call Forwarding Unconditional FeatureActivity, CFU-FA (Octet 1 bits AB ) */
-    proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_cfufa, tvb, offset, 1, FALSE);
+    proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_cfufa, tvb, offset, 1, ENC_BIG_ENDIAN);
     offset++;
     length--;
 
     /* Call Transfer: FeatureActivity, CT-FA (Octet 2 bits GH )         */
     offset++;
     length--;
 
     /* Call Transfer: FeatureActivity, CT-FA (Octet 2 bits GH )         */
-    proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_ctfa, tvb, offset, 1, FALSE);
+    proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_ctfa, tvb, offset, 1, ENC_BIG_ENDIAN);
     /* Voice Privacy FeatureActivity, VP-FA (Octet 2 bits EF )  */
     /* Voice Privacy FeatureActivity, VP-FA (Octet 2 bits EF )  */
-    proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_vpfa, tvb, offset, 1, FALSE);
+    proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_vpfa, tvb, offset, 1, ENC_BIG_ENDIAN);
     /* Call Delivery: FeatureActivity (not interpreted on reception by IS-41-C or later)
        CD-FA (Octet 2 bits CD )         */
     /* Call Delivery: FeatureActivity (not interpreted on reception by IS-41-C or later)
        CD-FA (Octet 2 bits CD )         */
-    proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_cdfa, tvb, offset, 1, FALSE);
+    proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_cdfa, tvb, offset, 1, ENC_BIG_ENDIAN);
     /* Three-Way Calling FeatureActivity, 3WC-FA (Octet 2 bits AB )     */
     /* Three-Way Calling FeatureActivity, 3WC-FA (Octet 2 bits AB )     */
-    proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_3wcfa, tvb, offset, 1, FALSE);
+    proto_tree_add_item(subtree, hf_ansi_map_callingfeaturesindicator_3wcfa, tvb, offset, 1, ENC_BIG_ENDIAN);
     offset++;
     length--;
 
     offset++;
     length--;
 
@@ -3700,7 +3700,7 @@ dissect_ansi_map_cdmaserviceoption(tvbuff_t *tvb, packet_info *pinfo _U_, proto_
 
     subtree = proto_item_add_subtree(actx->created_item, ett_cdmaserviceoption);
 
 
     subtree = proto_item_add_subtree(actx->created_item, ett_cdmaserviceoption);
 
-    proto_tree_add_item(subtree, hf_ansi_map_cdmaserviceoption, tvb, offset, 2, FALSE);
+    proto_tree_add_item(subtree, hf_ansi_map_cdmaserviceoption, tvb, offset, 2, ENC_BIG_ENDIAN);
 
 
 }
 
 
 }
index 5e3030808495aa38d4db73e718a3c0d6a16da549..0cbc56e903048981d982ccaec7c45e7ce1ad2163 100644 (file)
@@ -527,7 +527,7 @@ dissect_smrse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
        if (check_col(pinfo->cinfo, COL_INFO))
                col_add_str(pinfo->cinfo, COL_INFO, val_to_str(tag, tag_vals,"Unknown Tag:0x%02x"));
 
        if (check_col(pinfo->cinfo, COL_INFO))
                col_add_str(pinfo->cinfo, COL_INFO, val_to_str(tag, tag_vals,"Unknown Tag:0x%02x"));
 
-       proto_tree_add_item(tree, hf_smrse_reserved, tvb, 0, 1, FALSE);
+       proto_tree_add_item(tree, hf_smrse_reserved, tvb, 0, 1, ENC_BIG_ENDIAN);
        proto_tree_add_item(tree, hf_smrse_length, tvb, 1, 2, ENC_BIG_ENDIAN);
        proto_tree_add_item(tree, hf_smrse_tag, tvb, 3, 1, ENC_BIG_ENDIAN);
 
        proto_tree_add_item(tree, hf_smrse_length, tvb, 1, 2, ENC_BIG_ENDIAN);
        proto_tree_add_item(tree, hf_smrse_tag, tvb, 3, 1, ENC_BIG_ENDIAN);