aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-09-25 10:36:08 +0000
committerGuy Harris <guy@alum.mit.edu>2004-09-25 10:36:08 +0000
commit85d6e3905d0d7232979fc1cf49ded629f1e2049f (patch)
treece1da12b397d6bc7040d100907d7a079c7f793aa
parent2d2b3d4f5a28c21ddc618b8b86b70a9ad536a679 (diff)
Fetch the function from the correct offset.
svn path=/trunk/; revision=12101
-rw-r--r--epan/dissectors/packet-loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-loop.c b/epan/dissectors/packet-loop.c
index 899cc70ee4..32c9e1ceb5 100644
--- a/epan/dissectors/packet-loop.c
+++ b/epan/dissectors/packet-loop.c
@@ -77,7 +77,7 @@ dissect_loop(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
if (tree)
proto_tree_add_item(loop_tree, hf_loop_skipcount, tvb, offset, 2, TRUE);
offset += 2;
- function = tvb_get_letohs(tvb, 2);
+ function = tvb_get_letohs(tvb, offset);
if (!set_info) {
if (check_col(pinfo->cinfo, COL_INFO)) {
col_add_str(pinfo->cinfo, COL_INFO,