diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-10-24 19:57:53 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-10-24 19:57:53 +0000 |
commit | 54b72021bbd152f07832dedd6b33bc62e3f01a0b (patch) | |
tree | f063f3e93347a88a2234d55ac390d7f8e39977bf /epan/dissectors/packet-tn3270.c | |
parent | 6a5895b2dee934c4e51d559eb77627ae8d71e25d (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
svn path=/trunk/; revision=39539
Diffstat (limited to 'epan/dissectors/packet-tn3270.c')
-rw-r--r-- | epan/dissectors/packet-tn3270.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-tn3270.c b/epan/dissectors/packet-tn3270.c index 9d246e62da..67b448282d 100644 --- a/epan/dissectors/packet-tn3270.c +++ b/epan/dissectors/packet-tn3270.c @@ -1570,7 +1570,7 @@ tn3270_add_hf_items(proto_tree *tn3270_tree, tvbuff_t *tvb, gint offset, fields[i].encoding); } else { proto_tree_add_bitmask(tn3270_tree, tvb, offset, fields[i].hf, - fields[i].bitmask_ett, fields[i].bitmask, FALSE); + fields[i].bitmask_ett, fields[i].bitmask, ENC_BIG_ENDIAN); } offset+=fields[i].length; } @@ -1712,7 +1712,7 @@ dissect_3270_field_attribute(proto_tree *tn3270_tree, tvbuff_t *tvb, gint offset proto_tree_add_bitmask(tn3270_tree, tvb, offset, hf_tn3270_field_attribute, - ett_tn3270_field_attribute, byte, FALSE); + ett_tn3270_field_attribute, byte, ENC_BIG_ENDIAN); offset++; return (offset - start); @@ -1736,7 +1736,7 @@ dissect_ccc(proto_tree *tn3270_tree, tvbuff_t *tvb, gint offset) proto_tree_add_bitmask(tn3270_tree, tvb, offset, hf_tn3270_ccc, - ett_tn3270_ccc, byte, FALSE); + ett_tn3270_ccc, byte, ENC_BIG_ENDIAN); offset++; return (offset - start); |