Module Name:    src
Committed By:   yamt
Date:           Mon Aug 31 12:37:59 UTC 2009

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

Log Message:
nd6_ifattach: fix a missing parens bug in rev.1.132.


To generate a diff of this commit:
cvs rdiff -u -r1.133 -r1.134 src/sys/netinet6/nd6.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/nd6.c
diff -u src/sys/netinet6/nd6.c:1.133 src/sys/netinet6/nd6.c:1.134
--- src/sys/netinet6/nd6.c:1.133	Thu Aug  6 12:17:11 2009
+++ src/sys/netinet6/nd6.c	Mon Aug 31 12:37:59 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: nd6.c,v 1.133 2009/08/06 12:17:11 cegger Exp $	*/
+/*	$NetBSD: nd6.c,v 1.134 2009/08/31 12:37:59 yamt Exp $	*/
 /*	$KAME: nd6.c,v 1.279 2002/06/08 11:16:51 itojun Exp $	*/
 
 /*
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nd6.c,v 1.133 2009/08/06 12:17:11 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nd6.c,v 1.134 2009/08/31 12:37:59 yamt Exp $");
 
 #include "opt_ipsec.h"
 
@@ -177,7 +177,7 @@
 	 * here.
 	 */
 	nd->flags = (ND6_IFF_PERFORMNUD |
-		ip6_accept_rtadv ? ND6_IFF_ACCEPT_RTADV : 0);
+		(ip6_accept_rtadv ? ND6_IFF_ACCEPT_RTADV : 0));
 
 	/* XXX: we cannot call nd6_setmtu since ifp is not fully initialized */
 	nd6_setmtu0(ifp, nd);

Reply via email to