Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet6 nd6_ifattach: fix a missing parens bug in rev.1...



details:   https://anonhg.NetBSD.org/src/rev/1ab8f33c8895
branches:  trunk
changeset: 747065:1ab8f33c8895
user:      yamt <yamt%NetBSD.org@localhost>
date:      Mon Aug 31 12:37:59 2009 +0000

description:
nd6_ifattach: fix a missing parens bug in rev.1.132.

diffstat:

 sys/netinet6/nd6.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r e0f6cf1b9708 -r 1ab8f33c8895 sys/netinet6/nd6.c
--- a/sys/netinet6/nd6.c        Mon Aug 31 08:27:16 2009 +0000
+++ b/sys/netinet6/nd6.c        Mon Aug 31 12:37:59 2009 +0000
@@ -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);



Home | Main Index | Thread Index | Old Index