Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet6 Set RTF_CONNECTED instead of setting only RTF_C...
details: https://anonhg.NetBSD.org/src/rev/1007c5d21a8c
branches: trunk
changeset: 346909:1007c5d21a8c
user: roy <roy%NetBSD.org@localhost>
date: Sat Aug 06 20:00:14 2016 +0000
description:
Set RTF_CONNECTED instead of setting only RTF_CONNECTED.
diffstat:
sys/netinet6/nd6.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 75b0926b7181 -r 1007c5d21a8c sys/netinet6/nd6.c
--- a/sys/netinet6/nd6.c Sat Aug 06 15:13:13 2016 +0000
+++ b/sys/netinet6/nd6.c Sat Aug 06 20:00:14 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nd6.c,v 1.205 2016/08/01 03:15:31 ozaki-r Exp $ */
+/* $NetBSD: nd6.c,v 1.206 2016/08/06 20:00:14 roy 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.205 2016/08/01 03:15:31 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nd6.c,v 1.206 2016/08/06 20:00:14 roy Exp $");
#ifdef _KERNEL_OPT
#include "opt_net_mpsafe.h"
@@ -2433,7 +2433,7 @@
if (nd6_need_cache(ifp) == 0)
return 0;
ia->ia_ifa.ifa_rtrequest = nd6_rtrequest;
- ia->ia_ifa.ifa_flags = RTF_CONNECTED;
+ ia->ia_ifa.ifa_flags |= RTF_CONNECTED;
IF_AFDATA_WLOCK(ifp);
ln = lla_create(LLTABLE6(ifp), LLE_IFADDR | LLE_EXCLUSIVE,
Home |
Main Index |
Thread Index |
Old Index