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-noe.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-noe.c')
-rw-r--r-- | epan/dissectors/packet-noe.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-noe.c b/epan/dissectors/packet-noe.c index 5cbed09b3c..40cc37f6bd 100644 --- a/epan/dissectors/packet-noe.c +++ b/epan/dissectors/packet-noe.c @@ -915,7 +915,7 @@ static void decode_evt_error(proto_tree *tree, offset += 1; length -= 1; - proto_tree_add_item(tree, hf_noe_aindx, tvb, offset, 1, ENC_NA); + proto_tree_add_item(tree, hf_noe_aindx, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; length -= 1; @@ -961,7 +961,7 @@ static void decode_tlv(proto_tree *tree, if (property_type >= P_ARRAY) { - proto_tree_add_item(property_tree, hf_noe_aindx, tvb, offset, 1, ENC_NA); + proto_tree_add_item(property_tree, hf_noe_aindx, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; length -= 1; } @@ -1050,7 +1050,7 @@ static void decode_getproperty_tlv(proto_tree *tree, if (body_type >= P_ARRAY) { - proto_tree_add_item(body_tree, hf_noe_aindx, tvb, offset, 1, ENC_NA); + proto_tree_add_item(body_tree, hf_noe_aindx, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; length -= 1; } @@ -1162,7 +1162,7 @@ static void decode_evt(proto_tree *tree, offset += 2; /*length -= 2;*/ - proto_tree_add_item(tree, hf_noe_bonded, tvb, offset, 1, ENC_NA); + proto_tree_add_item(tree, hf_noe_bonded, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; /*length -= 1;*/ |