aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2011-12-22 01:57:20 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2011-12-22 01:57:20 +0000
commitb3ee0e12956fd5bb7c36468609bc7b5ba6e7dd08 (patch)
tree3fce24c33d703d674b86fa518b288be3b7d64db6 /epan
parent9708878fa34dbd748001ef70b91912c6cf13c2e2 (diff)
Set encoding to ENC_BIG_ENDIAN instead of the incorrect encoding of TRUE.
svn path=/trunk/; revision=40270
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-sasp.c4
-rw-r--r--epan/dissectors/packet-tn3270.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-sasp.c b/epan/dissectors/packet-sasp.c
index 8707f62413..4f6d20b1c4 100644
--- a/epan/dissectors/packet-sasp.c
+++ b/epan/dissectors/packet-sasp.c
@@ -994,7 +994,7 @@ static void dissect_setlbstate_req(tvbuff_t *tvb,proto_tree *pay_load,guint32 of
proto_tree_add_bitmask_text(setlbstate_req_tree,tvb,offset, 1, "LB Flags:", NULL,
- ett_setlbstate_req_lbflag, lbflags, TRUE,0);
+ ett_setlbstate_req_lbflag, lbflags, ENC_BIG_ENDIAN, 0);
offset+=1;
@@ -1135,7 +1135,7 @@ static guint32 dissect_weight_entry_data_comp(tvbuff_t *tvb,proto_tree *pay_load
proto_tree_add_bitmask_text(weight_entry_data_comp_tree,tvb,offset, 1, "Flags:", NULL,
- ett_wt_entry_data_flag, wtflags, TRUE,0);
+ ett_wt_entry_data_flag, wtflags, ENC_BIG_ENDIAN, 0);
offset+=1;
diff --git a/epan/dissectors/packet-tn3270.c b/epan/dissectors/packet-tn3270.c
index 67b448282d..5a6ba7bf57 100644
--- a/epan/dissectors/packet-tn3270.c
+++ b/epan/dissectors/packet-tn3270.c
@@ -1669,7 +1669,7 @@ dissect_wcc(proto_tree *tn3270_tree, tvbuff_t *tvb, gint offset)
/* Qualifier and DeviceType */
proto_tree_add_bitmask_text(tn3270_tree, tvb, offset, 1, "Write Control Character: ", "None",
- ett_tn3270_wcc, wcc_fields, TRUE, 0);
+ ett_tn3270_wcc, wcc_fields, ENC_BIG_ENDIAN, 0);
return 1;
}
@@ -1687,7 +1687,7 @@ dissect_3270_field_validation(proto_tree *tn3270_tree, tvbuff_t *tvb, gint offse
};
proto_tree_add_bitmask_text(tn3270_tree, tvb, 1, 1, "Field Validation: ",
- "None", ett_tn3270_field_validation, byte, TRUE, 0);
+ "None", ett_tn3270_field_validation, byte, ENC_BIG_ENDIAN, 0);
offset++;
return (offset - start);