aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-09-25 09:17:12 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-09-25 09:17:12 +0000
commit2b285b76f83a7bb7d8ff41b282ce9247e46c023e (patch)
tree7c12f78dbaad1455211810b4be155a2dc4d2ba17 /epan
parent94f354b2b834a1f410e10913eb62006485b5016a (diff)
What part of "least significant octet first" do you not understand? :-)
(The part I didn't bother to notice.... :-)) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12098 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-loop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-loop.c b/epan/dissectors/packet-loop.c
index 0d3ee44ae4..899cc70ee4 100644
--- a/epan/dissectors/packet-loop.c
+++ b/epan/dissectors/packet-loop.c
@@ -75,9 +75,9 @@ dissect_loop(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
for (;;) {
if (tree)
- proto_tree_add_item(loop_tree, hf_loop_skipcount, tvb, offset, 2, FALSE);
+ proto_tree_add_item(loop_tree, hf_loop_skipcount, tvb, offset, 2, TRUE);
offset += 2;
- function = tvb_get_ntohs(tvb, 2);
+ function = tvb_get_letohs(tvb, 2);
if (!set_info) {
if (check_col(pinfo->cinfo, COL_INFO)) {
col_add_str(pinfo->cinfo, COL_INFO,
@@ -93,7 +93,7 @@ dissect_loop(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
case FUNC_REPLY:
if (tree)
proto_tree_add_item(loop_tree, hf_loop_receipt_number, tvb, offset, 2,
- FALSE);
+ TRUE);
offset += 2;
next_tvb = tvb_new_subset(tvb, offset, -1, -1);
call_dissector(data_handle, next_tvb, pinfo, tree);