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

This commit is contained in:
yamt 2009-08-31 12:37:59 +00:00
parent e28fc9086c
commit 7dc10fea3d
1 changed files with 3 additions and 3 deletions

View File

@ -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 @@ nd6_ifattach(struct ifnet *ifp)
* 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);