diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-01-21 08:39:29 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-01-21 08:39:29 +0000 |
commit | d9f4723e484f92147a589d3eb46454f9aec9b67f (patch) | |
tree | e998975d919b56e40f1bb8e0a8a33a461af4f0ba /packet-ipv6.c | |
parent | 1584a1211493a788de2313e9378bbd4d25ab7791 (diff) | |
download | wireshark-d9f4723e484f92147a589d3eb46454f9aec9b67f.tar.gz wireshark-d9f4723e484f92147a589d3eb46454f9aec9b67f.tar.bz2 wireshark-d9f4723e484f92147a589d3eb46454f9aec9b67f.zip |
From Taisuke Sasaki: convert the ident field in the fragment header to
host byte order.
svn path=/trunk/; revision=9766
Diffstat (limited to 'packet-ipv6.c')
-rw-r--r-- | packet-ipv6.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packet-ipv6.c b/packet-ipv6.c index d82d30a383..a065227fc8 100644 --- a/packet-ipv6.c +++ b/packet-ipv6.c @@ -1,7 +1,7 @@ /* packet-ipv6.c * Routines for IPv6 packet disassembly * - * $Id: packet-ipv6.c,v 1.100 2003/08/28 04:19:28 guy Exp $ + * $Id: packet-ipv6.c,v 1.101 2004/01/21 08:39:29 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -282,6 +282,7 @@ dissect_frag6(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, tvb_memcpy(tvb, (guint8 *)&frag, offset, sizeof(frag)); len = sizeof(frag); frag.ip6f_offlg = g_ntohs(frag.ip6f_offlg); + frag.ip6f_ident = g_ntohl(frag.ip6f_ident); *offlg = frag.ip6f_offlg; *ident = frag.ip6f_ident; if (check_col(pinfo->cinfo, COL_INFO)) { |