Module Name: src Committed By: bouyer Date: Sun May 3 13:39:21 UTC 2009
Modified Files: src/sys/netinet6 [netbsd-5-0]: ip6_input.c Log Message: Pull up following revision(s) (requested by martin in ticket #733): sys/netinet6/ip6_input.c: revision 1.127 Add missing paranthesis - from Kurt Lidl in PR port-vax/41316 To generate a diff of this commit: cvs rdiff -u -r1.122 -r1.122.8.1 src/sys/netinet6/ip6_input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/netinet6/ip6_input.c diff -u src/sys/netinet6/ip6_input.c:1.122 src/sys/netinet6/ip6_input.c:1.122.8.1 --- src/sys/netinet6/ip6_input.c:1.122 Thu Aug 21 15:34:10 2008 +++ src/sys/netinet6/ip6_input.c Sun May 3 13:39:21 2009 @@ -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 <sys/cdefs.h> -__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 @@ 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 @@ break; case IPPROTO_ROUTING: - if (!in6p->in6p_flags & IN6P_RTHDR) + if (!(in6p->in6p_flags & IN6P_RTHDR)) break; *mp = sbcreatecontrol((void *)ip6e, elen,