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-lacp.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-lacp.c')
-rw-r--r-- | epan/dissectors/packet-lacp.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/epan/dissectors/packet-lacp.c b/epan/dissectors/packet-lacp.c index 343ae4d1a9..f174ef1142 100644 --- a/epan/dissectors/packet-lacp.c +++ b/epan/dissectors/packet-lacp.c @@ -163,13 +163,13 @@ dissect_lacp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* Actor Type */ proto_tree_add_item(lacpdu_tree, hf_lacp_actor_type, tvb, - offset, 1, ENC_NA); + offset, 1, ENC_BIG_ENDIAN); offset += 1; /* Actor Info Length */ proto_tree_add_item(lacpdu_tree, hf_lacp_actor_info_len, tvb, - offset, 1, ENC_NA); + offset, 1, ENC_BIG_ENDIAN); offset += 1; /* Actor System Priority */ @@ -285,13 +285,13 @@ dissect_lacp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* Partner Type */ proto_tree_add_item(lacpdu_tree, hf_lacp_partner_type, tvb, - offset, 1, ENC_NA); + offset, 1, ENC_BIG_ENDIAN); offset += 1; /* Partner Info Length */ proto_tree_add_item(lacpdu_tree, hf_lacp_partner_info_len, tvb, - offset, 1, ENC_NA); + offset, 1, ENC_BIG_ENDIAN); offset += 1; /* Partner System Priority */ @@ -407,13 +407,13 @@ dissect_lacp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* Collector Type */ proto_tree_add_item(lacpdu_tree, hf_lacp_coll_type, tvb, - offset, 1, ENC_NA); + offset, 1, ENC_BIG_ENDIAN); offset += 1; /* Collector Info Length */ proto_tree_add_item(lacpdu_tree, hf_lacp_coll_info_len, tvb, - offset, 1, ENC_NA); + offset, 1, ENC_BIG_ENDIAN); offset += 1; /* Collector Max Delay */ @@ -431,13 +431,13 @@ dissect_lacp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* Terminator Type */ proto_tree_add_item(lacpdu_tree, hf_lacp_term_type, tvb, - offset, 1, ENC_NA); + offset, 1, ENC_BIG_ENDIAN); offset += 1; /* Terminator Info Length */ proto_tree_add_item(lacpdu_tree, hf_lacp_term_len, tvb, - offset, 1, ENC_NA); + offset, 1, ENC_BIG_ENDIAN); offset += 1; /* Terminator Reserved */ |