Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/netinet6/raw_ip6.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/netinet6/raw_ip6.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.49 retrieving revision 1.50 diff -u -p -r1.49 -r1.50 --- src/sys/netinet6/raw_ip6.c 2002/07/20 21:11:55 1.49 +++ src/sys/netinet6/raw_ip6.c 2002/09/11 02:41:28 1.50 @@ -1,4 +1,4 @@ -/* $NetBSD: raw_ip6.c,v 1.49 2002/07/20 21:11:55 itojun Exp $ */ +/* $NetBSD: raw_ip6.c,v 1.50 2002/09/11 02:41:28 itojun Exp $ */ /* $KAME: raw_ip6.c,v 1.82 2001/07/23 18:57:56 jinmei Exp $ */ /* @@ -66,7 +66,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: raw_ip6.c,v 1.49 2002/07/20 21:11:55 itojun Exp $"); +__KERNEL_RCSID(0, "$NetBSD: raw_ip6.c,v 1.50 2002/09/11 02:41:28 itojun Exp $"); #include "opt_ipsec.h" @@ -254,11 +254,11 @@ rip6_input(mp, offp, proto) if (proto == IPPROTO_NONE) m_freem(m); else { - char *prvnxtp = ip6_get_prevhdr(m, *offp); /* XXX */ + u_int8_t *prvnxtp = ip6_get_prevhdr(m, *offp); /* XXX */ in6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_protounknown); icmp6_error(m, ICMP6_PARAM_PROB, ICMP6_PARAMPROB_NEXTHEADER, - prvnxtp - mtod(m, char *)); + prvnxtp - mtod(m, u_int8_t *)); } ip6stat.ip6s_delivered--; }