Module Name:    src
Committed By:   martin
Date:           Fri May  1 03:23:39 UTC 2009

Modified Files:
        src/sys/netinet6: ip6_input.c

Log Message:
Add missing paranthesis - from Kurt Lidl in PR port-vax/41316


To generate a diff of this commit:
cvs rdiff -u -r1.126 -r1.127 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.126 src/sys/netinet6/ip6_input.c:1.127
--- src/sys/netinet6/ip6_input.c:1.126	Sat Apr 18 14:58:05 2009
+++ src/sys/netinet6/ip6_input.c	Fri May  1 03:23:39 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: ip6_input.c,v 1.126 2009/04/18 14:58:05 tsutsui Exp $	*/
+/*	$NetBSD: ip6_input.c,v 1.127 2009/05/01 03:23:39 martin 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.126 2009/04/18 14:58:05 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip6_input.c,v 1.127 2009/05/01 03:23:39 martin Exp $");
 
 #include "opt_inet.h"
 #include "opt_inet6.h"
@@ -1273,7 +1273,7 @@
 
 			switch (nxt) {
 			case IPPROTO_DSTOPTS:
-				if (!in6p->in6p_flags & IN6P_DSTOPTS)
+				if (!(in6p->in6p_flags & IN6P_DSTOPTS))
 					break;
 
 				*mp = sbcreatecontrol((void *)ip6e, elen,
@@ -1284,7 +1284,7 @@
 				break;
 
 			case IPPROTO_ROUTING:
-				if (!in6p->in6p_flags & IN6P_RTHDR)
+				if (!(in6p->in6p_flags & IN6P_RTHDR))
 					break;
 
 				*mp = sbcreatecontrol((void *)ip6e, elen,

Reply via email to