diff options
author | Peter Hessler <phessler@cvs.openbsd.org> | 2013-10-20 11:03:04 +0000 |
---|---|---|
committer | Peter Hessler <phessler@cvs.openbsd.org> | 2013-10-20 11:03:04 +0000 |
commit | 51af3a791d7649a044d750e62f6fadb6a19a067f (patch) | |
tree | 89492abc1a604c6e28a2e0a804e6e0a16891f066 /sys/netinet6/nd6.c | |
parent | 5d95e5679b62bf050ffb3997ec86ef7f5f611b9a (diff) |
Put a large chunk of the IPv6 rdomain support in-tree.
Still some important missing pieces, and this is not yet enabled.
OK bluhm@
Diffstat (limited to 'sys/netinet6/nd6.c')
-rw-r--r-- | sys/netinet6/nd6.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c index 3f279fec873..0675307b32d 100644 --- a/sys/netinet6/nd6.c +++ b/sys/netinet6/nd6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nd6.c,v 1.102 2013/08/28 06:58:57 mpi Exp $ */ +/* $OpenBSD: nd6.c,v 1.103 2013/10/20 11:03:02 phessler Exp $ */ /* $KAME: nd6.c,v 1.280 2002/06/08 19:52:07 itojun Exp $ */ /* @@ -948,10 +948,6 @@ nd6_nud_hint(struct rtentry *rt, struct in6_addr *dst6, int force) } } -/* - * info - XXX: unused - */ - void nd6_rtrequest(int req, struct rtentry *rt) { @@ -1023,7 +1019,8 @@ nd6_rtrequest(int req, struct rtentry *rt) * (RTF_LLINFO && !ln case). */ rt_setgate(rt, rt_key(rt), - (struct sockaddr *)&null_sdl, 0); + (struct sockaddr *)&null_sdl, + rt->rt_ifp->if_rdomain); gate = rt->rt_gateway; SDL(gate)->sdl_type = ifp->if_type; SDL(gate)->sdl_index = ifp->if_index; |