Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet6 Add missing RTF_LOCAL; sync with arp_setgate
details: https://anonhg.NetBSD.org/src/rev/afdf8957dd3b
branches: trunk
changeset: 342777:afdf8957dd3b
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Fri Jan 08 08:50:07 2016 +0000
description:
Add missing RTF_LOCAL; sync with arp_setgate
diffstat:
sys/netinet6/nd6.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 8c6c2afb7ceb -r afdf8957dd3b sys/netinet6/nd6.c
--- a/sys/netinet6/nd6.c Fri Jan 08 08:37:18 2016 +0000
+++ b/sys/netinet6/nd6.c Fri Jan 08 08:50:07 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nd6.c,v 1.183 2015/12/18 09:04:33 ozaki-r Exp $ */
+/* $NetBSD: nd6.c,v 1.184 2016/01/08 08:50:07 ozaki-r 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.183 2015/12/18 09:04:33 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nd6.c,v 1.184 2016/01/08 08:50:07 ozaki-r Exp $");
#ifdef _KERNEL_OPT
#include "opt_net_mpsafe.h"
@@ -1370,7 +1370,7 @@
* rt->rt_flags |= RTF_CLONING;
*/
if ((rt->rt_flags & RTF_CLONING) ||
- ((rt->rt_flags & RTF_LLINFO) && ln == NULL)) {
+ ((rt->rt_flags & (RTF_LLINFO | RTF_LOCAL)) && ln == NULL)) {
union {
struct sockaddr sa;
struct sockaddr_dl sdl;
Home |
Main Index |
Thread Index |
Old Index