From d18bb2331dbcb9585d6ca2de96ad02a2ddb7ad03 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 17 Jun 2011 00:51:47 -0700 Subject: Use nextproto6_cksum() for XXX-over-IPv6 checksums. Get rid of duplicated checksums with IPv6 pseudo-headers. --- ip6.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ip6.h') diff --git a/ip6.h b/ip6.h index c54b5b2e..12c87ad2 100644 --- a/ip6.h +++ b/ip6.h @@ -187,6 +187,6 @@ struct ip6_frag { #define IP6F_MORE_FRAG 0x0001 /* more-fragments flag */ /* in print-ip6.c */ -extern int nextproto6_cksum(const struct ip6_hdr *, const u_short *, u_int, u_int); +extern int nextproto6_cksum(const struct ip6_hdr *, const u_int8_t *, u_int, u_int); #endif /* not _NETINET_IP6_H_ */ -- cgit v1.2.1