diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2006-03-21 06:54:12 +0000 |
---|---|---|
committer | Jaap Keuter <jaap.keuter@xs4all.nl> | 2006-03-21 06:54:12 +0000 |
commit | f4248f455df0e4c46429abc49947a4860e1d6020 (patch) | |
tree | d12714fd330c36c6a86635466cbc780d0e51e761 /epan/dissectors/packet-loop.c | |
parent | a9b74a73ce4161ac818a07630f826e0c0cc9626c (diff) | |
download | wireshark-f4248f455df0e4c46429abc49947a4860e1d6020.tar.gz |
From Bill Meier:
Ensure "relevant function" logic works for loopback packets containing multiple forwarding addresses.
svn path=/trunk/; revision=17689
Diffstat (limited to 'epan/dissectors/packet-loop.c')
-rw-r--r-- | epan/dissectors/packet-loop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-loop.c b/epan/dissectors/packet-loop.c index 31cd864107..4b36b9f687 100644 --- a/epan/dissectors/packet-loop.c +++ b/epan/dissectors/packet-loop.c @@ -76,7 +76,7 @@ dissect_loop(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) proto_tree_add_item(loop_tree, hf_loop_skipcount, tvb, offset, 2, TRUE); } - skip_offset = 2 + tvb_get_ntohs(tvb, offset); + skip_offset = 2 + tvb_get_letohs(tvb, offset); offset += 2; do { |