aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-vines.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2012-09-26 18:09:04 +0000
committerMichael Mann <mmann78@netscape.net>2012-09-26 18:09:04 +0000
commit2edc3c1822c06e6a2e61ba7954a499a75476b3ae (patch)
treee9a1d2addeccd60b6d4b57e9c34adb9c81b1a95f /epan/dissectors/packet-vines.c
parent60626e8fd2f8749255951e2a45607466141c5122 (diff)
minor endian bugfix
svn path=/trunk/; revision=45151
Diffstat (limited to 'epan/dissectors/packet-vines.c')
-rw-r--r--epan/dissectors/packet-vines.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-vines.c b/epan/dissectors/packet-vines.c
index 19f3365b7f..35dd831f44 100644
--- a/epan/dissectors/packet-vines.c
+++ b/epan/dissectors/packet-vines.c
@@ -452,7 +452,7 @@ dissect_vines_ip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
/* To do: check for runts, errs, etc. */
/* capture the necessary parts of the header */
- vip_pktlen = tvb_get_letohs(tvb, offset+2);
+ vip_pktlen = tvb_get_ntohs(tvb, offset+2);
vip_tctl = tvb_get_guint8(tvb, offset+3);
vip_proto = tvb_get_guint8(tvb, offset+4);