aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ipv6.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-02-17 00:51:21 +0000
committerGuy Harris <guy@alum.mit.edu>2002-02-17 00:51:21 +0000
commitd92a1cd8e1f58a1ec46793f9052aa893a279e523 (patch)
tree6c3672ed6745221c5a874b342129457a1135f49d /packet-ipv6.c
parentac5a603cb77582b38948307a505e480352b7b75d (diff)
With the tvbuffication of all dissectors, the "packet_info" structure no
longer contains length fields, so there's no need to pass a "packet_info *" argument to "set_actual_length()". svn path=/trunk/; revision=4748
Diffstat (limited to 'packet-ipv6.c')
-rw-r--r--packet-ipv6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-ipv6.c b/packet-ipv6.c
index d5b11fa973..798e6f368a 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.75 2002/01/21 07:36:35 guy Exp $
+ * $Id: packet-ipv6.c,v 1.76 2002/02/17 00:51:19 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -675,7 +675,7 @@ dissect_ipv6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
plen = ntohs(ipv6.ip6_plen);
/* Adjust the length of this tvbuff to include only the IPv6 datagram. */
- set_actual_length(tvb, pinfo, plen + sizeof (struct ip6_hdr));
+ set_actual_length(tvb, plen + sizeof (struct ip6_hdr));
SET_ADDRESS(&pinfo->net_src, AT_IPv6, 16, tvb_get_ptr(tvb, offset + IP6H_SRC, 16));
SET_ADDRESS(&pinfo->src, AT_IPv6, 16, tvb_get_ptr(tvb, offset + IP6H_SRC, 16));