diff options
-rw-r--r-- | net/ipv6/route.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 7208c16302f6..c4ea13e8360b 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c | |||
@@ -956,7 +956,7 @@ static void ip6_rt_init_dst(struct rt6_info *rt, struct fib6_info *ort) | |||
956 | rt->dst.error = 0; | 956 | rt->dst.error = 0; |
957 | rt->dst.output = ip6_output; | 957 | rt->dst.output = ip6_output; |
958 | 958 | ||
959 | if (ort->fib6_type == RTN_LOCAL) { | 959 | if (ort->fib6_type == RTN_LOCAL || ort->fib6_type == RTN_ANYCAST) { |
960 | rt->dst.input = ip6_input; | 960 | rt->dst.input = ip6_input; |
961 | } else if (ipv6_addr_type(&ort->fib6_dst.addr) & IPV6_ADDR_MULTICAST) { | 961 | } else if (ipv6_addr_type(&ort->fib6_dst.addr) & IPV6_ADDR_MULTICAST) { |
962 | rt->dst.input = ip6_mc_input; | 962 | rt->dst.input = ip6_mc_input; |