summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-smb-pipe.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2014-12-13 14:59:26 -0500
committerBill Meier <wmeier@newsguy.com>2014-12-13 21:58:59 +0000
commit94d7e8d83834a45f69cb47a121b70192e4d561fb (patch)
tree3753b6475daed996992b97fdf5320aa3ccfa1e95 /epan/dissectors/packet-smb-pipe.c
parentff46ac56cac3b0458e63a7a466f9f1286af50b24 (diff)
downloadwireshark-94d7e8d83834a45f69cb47a121b70192e4d561fb.tar.gz
Use ENC_LITTLE_ENDIAN when fetching FT_U?INT8 fields ...
(for some dissectors which fetch all other integral fields using ENC_LITTLE_ENDIAN). Change-Id: Ica72a68ac560f2920d61e0769de83130557c46fd Reviewed-on: https://code.wireshark.org/review/5752 Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'epan/dissectors/packet-smb-pipe.c')
-rw-r--r--epan/dissectors/packet-smb-pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-smb-pipe.c b/epan/dissectors/packet-smb-pipe.c
index e6762a8d80..f6e2ad94dc 100644
--- a/epan/dissectors/packet-smb-pipe.c
+++ b/epan/dissectors/packet-smb-pipe.c
@@ -311,7 +311,7 @@ add_bytes_param(tvbuff_t *tvb, int offset, int count, packet_info *pinfo _U_,
}
} else {
if (count == 1) {
- proto_tree_add_item(tree, hf_smb_pipe_byte_param, tvb, offset, count, ENC_NA);
+ proto_tree_add_item(tree, hf_smb_pipe_byte_param, tvb, offset, count, ENC_LITTLE_ENDIAN);
} else {
proto_tree_add_item(tree, hf_smb_pipe_bytes_param, tvb, offset, count, ENC_NA);
}