diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-10-24 19:57:53 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-10-24 19:57:53 +0000 |
commit | 88eb6a0e60cfba4c5686d354e88c2fd727965f3c (patch) | |
tree | f063f3e93347a88a2234d55ac390d7f8e39977bf /epan/dissectors/packet-fp_hint.c | |
parent | 1f7a4ab24ee68c9fddffe1cdbb25d6ffb7bed0a6 (diff) |
Fix encoding arg for various fcn calls:
- proto_tree_add_bits_item
- proto_tree_add_bits_ret_val
- proto_tree_add_bitmask
- tvb_get_bits
- tvb_get_bits16
- tvb_get_bits24
- tvb_get_bits32
- tvb_get_bits64
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39539 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-fp_hint.c')
-rw-r--r-- | epan/dissectors/packet-fp_hint.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-fp_hint.c b/epan/dissectors/packet-fp_hint.c index 66cb2c4830..8d55fb8d6d 100644 --- a/epan/dissectors/packet-fp_hint.c +++ b/epan/dissectors/packet-fp_hint.c @@ -215,8 +215,8 @@ static guint16 assign_rb_info(tvbuff_t *tvb, packet_info *pinfo, guint16 offset, if (urnti) proto_tree_add_uint(subtree, hf_fph_urnti, tvb, offset, 4, urnti); - proto_tree_add_bits_item(subtree, hf_fph_content, tvb, (offset+4)*8+4, 2, TRUE); - proto_tree_add_bits_item(subtree, hf_fph_rlcmode, tvb, (offset+4)*8+6, 2, TRUE); + proto_tree_add_bits_item(subtree, hf_fph_content, tvb, (offset+4)*8+4, 2, ENC_LITTLE_ENDIAN); + proto_tree_add_bits_item(subtree, hf_fph_rlcmode, tvb, (offset+4)*8+6, 2, ENC_LITTLE_ENDIAN); proto_tree_add_item(subtree, hf_fph_rbid, tvb, (offset+4), 2, ENC_LITTLE_ENDIAN); proto_tree_add_boolean(subtree, hf_fph_ctmux, tvb, offset+5, 1, ctmux); proto_tree_add_boolean(subtree, hf_fph_ciphered, tvb, offset+5, 1, ciphered); @@ -366,9 +366,9 @@ static void assign_fph_hsdsch(tvbuff_t *tvb, packet_info *pinfo, guint16 offset, if (tree) { proto_tree_add_bits_item(tree, hf_fph_macehs, tvb, - offset*8+4, 1, TRUE); + offset*8+4, 1, ENC_LITTLE_ENDIAN); proto_tree_add_bits_item(tree, hf_fph_macdflowid, tvb, - offset*8+5, 3, TRUE); + offset*8+5, 3, ENC_LITTLE_ENDIAN); } offset++; |