Apply by doing: cd /usr/src patch -p0 < 005_route6.patch Then build and install a new kernel. Index: sys/netinet6/route6.c =================================================================== RCS file: /cvs/src/sys/netinet6/route6.c,v retrieving revision 1.14 retrieving revision 1.14.2.1 diff -u -p -r1.14 -r1.14.2.1 --- sys/netinet6/route6.c 27 Dec 2006 05:12:13 -0000 1.14 +++ sys/netinet6/route6.c 28 Apr 2007 05:01:02 -0000 1.14.2.1 @@ -1,4 +1,4 @@ -/* $OpenBSD: route6.c,v 1.14 2006/12/27 05:12:13 itojun Exp $ */ +/* $OpenBSD: route6.c,v 1.14.2.1 2007/04/28 05:01:02 ckuethe Exp $ */ /* $KAME: route6.c,v 1.22 2000/12/03 00:54:00 itojun Exp $ */ /* @@ -44,7 +44,9 @@ #include +#if 0 static int ip6_rthdr0(struct mbuf *, struct ip6_hdr *, struct ip6_rthdr0 *); +#endif int route6_input(mp, offp, proto) @@ -64,6 +66,7 @@ route6_input(mp, offp, proto) } switch (rh->ip6r_type) { +#if 0 case IPV6_RTHDR_TYPE_0: rhlen = (rh->ip6r_len + 1) << 3; if (rh->ip6r_segleft == 0) @@ -84,6 +87,7 @@ route6_input(mp, offp, proto) if (ip6_rthdr0(m, ip6, (struct ip6_rthdr0 *)rh)) return (IPPROTO_DONE); break; +#endif default: /* unknown routing type */ if (rh->ip6r_segleft == 0) { @@ -100,6 +104,7 @@ route6_input(mp, offp, proto) return (rh->ip6r_nxt); } +#if 0 /* * Type0 routing header processing * @@ -180,3 +185,4 @@ ip6_rthdr0(m, ip6, rh0) m_freem(m); return (-1); } +#endif