diff options
author | Bill Meier <wmeier@newsguy.com> | 2014-12-13 12:52:20 -0500 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2014-12-13 18:45:56 +0000 |
commit | f412c9a01aa031ef9f024ee1b8ec60bf4a73edb8 (patch) | |
tree | ce4c0543d43c0c6f7b84050a1a187e9381c6b8d0 /epan/dissectors/packet-ses.c | |
parent | 7592d39d46ee0f2442cc5263979a0f036f98468b (diff) |
Use ENC_BIG_ENDIAN when fetching FT_U?INT8 fields ...
(for some dissectors which fetch all other integral fields using
ENC_BIG_ENDIAN).
Change-Id: Ic18e3172aad76af12b12d6732c88497be22aed56
Reviewed-on: https://code.wireshark.org/review/5748
Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'epan/dissectors/packet-ses.c')
-rw-r--r-- | epan/dissectors/packet-ses.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-ses.c b/epan/dissectors/packet-ses.c index 3f5068b3cd..02e6bf32d7 100644 --- a/epan/dissectors/packet-ses.c +++ b/epan/dissectors/packet-ses.c @@ -671,7 +671,7 @@ PICS. */ break; } - proto_tree_add_item(param_tree, hf_ses_reason_code, tvb, offset, 1, ENC_NA); + proto_tree_add_item(param_tree, hf_ses_reason_code, tvb, offset, 1, ENC_BIG_ENDIAN); offset++; param_len--; if (param_len != 0) @@ -761,7 +761,7 @@ dissect_parameter_group(tvbuff_t *tvb, int offset, proto_tree *tree, ett_ses_param, &ti, val_to_str_ext(param_type, ¶m_vals_ext, "Unknown parameter type (0x%02x)")); param_str = val_to_str_ext_const(param_type, ¶m_vals_ext, "Unknown"); - proto_tree_add_item(param_tree, hf_ses_parameter_type, tvb, offset, 1, ENC_NA); + proto_tree_add_item(param_tree, hf_ses_parameter_type, tvb, offset, 1, ENC_BIG_ENDIAN); offset++; pg_len--; param_len = get_item_len(tvb, offset, &len_len); @@ -831,7 +831,7 @@ dissect_parameters(tvbuff_t *tvb, int offset, guint16 len, proto_tree *tree, val_to_str_ext(param_type, ¶m_vals_ext, "Unknown parameter type (0x%02x)")); param_str = val_to_str_ext_const(param_type, ¶m_vals_ext, "Unknown"); - proto_tree_add_item(param_tree, hf_ses_parameter_type, tvb, offset, 1, ENC_NA); + proto_tree_add_item(param_tree, hf_ses_parameter_type, tvb, offset, 1, ENC_BIG_ENDIAN); offset++; len--; param_len = get_item_len(tvb, offset, &len_len); |