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/ip6_input.c,v retrieving revision 1.122 retrieving revision 1.122.8.1 diff -u -p -r1.122 -r1.122.8.1 --- src/sys/netinet6/ip6_input.c 2008/08/21 15:34:10 1.122 +++ src/sys/netinet6/ip6_input.c 2009/05/03 13:39:21 1.122.8.1 @@ -1,4 +1,4 @@ -/* $NetBSD: ip6_input.c,v 1.122 2008/08/21 15:34:10 matt Exp $ */ +/* $NetBSD: ip6_input.c,v 1.122.8.1 2009/05/03 13:39:21 bouyer Exp $ */ /* $KAME: ip6_input.c,v 1.188 2001/03/29 05:34:31 itojun Exp $ */ /* @@ -62,7 +62,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ip6_input.c,v 1.122 2008/08/21 15:34:10 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ip6_input.c,v 1.122.8.1 2009/05/03 13:39:21 bouyer Exp $"); #include "opt_inet.h" #include "opt_inet6.h" @@ -1257,7 +1257,7 @@ ip6_savecontrol(struct in6pcb *in6p, str switch (nxt) { case IPPROTO_DSTOPTS: - if (!in6p->in6p_flags & IN6P_DSTOPTS) + if (!(in6p->in6p_flags & IN6P_DSTOPTS)) break; *mp = sbcreatecontrol((void *)ip6e, elen, @@ -1268,7 +1268,7 @@ ip6_savecontrol(struct in6pcb *in6p, str break; case IPPROTO_ROUTING: - if (!in6p->in6p_flags & IN6P_RTHDR) + if (!(in6p->in6p_flags & IN6P_RTHDR)) break; *mp = sbcreatecontrol((void *)ip6e, elen,