Use "hash" value in rtalloc_mpath_fib() instead of RTF_ANNOUNCE flag.

Hashing method is the same as in in6_src.c. (Probably we need better one).

MFC after:	2 weeks
This commit is contained in:
melifaro 2014-04-26 16:46:33 +00:00
parent 40ccac8b45
commit 9284124548

View File

@ -242,7 +242,7 @@ nd6_ns_input(struct mbuf *m, int off, int icmp6len)
/* Always use the default FIB. */
#ifdef RADIX_MPATH
rtalloc_mpath_fib((struct route *)&ro, RTF_ANNOUNCE,
rtalloc_mpath_fib((struct route *)&ro, ntohl(taddr6.s6_addr32[3]),
RT_DEFAULT_FIB);
#else
in6_rtalloc(&ro, RT_DEFAULT_FIB);