|
@@ -3423,6 +3423,8 @@ static int rt6_fill_node(struct net *net,
|
|
|
}
|
|
}
|
|
|
else if (rt->rt6i_flags & RTF_LOCAL)
|
|
else if (rt->rt6i_flags & RTF_LOCAL)
|
|
|
rtm->rtm_type = RTN_LOCAL;
|
|
rtm->rtm_type = RTN_LOCAL;
|
|
|
|
|
+ else if (rt->rt6i_flags & RTF_ANYCAST)
|
|
|
|
|
+ rtm->rtm_type = RTN_ANYCAST;
|
|
|
else if (rt->dst.dev && (rt->dst.dev->flags & IFF_LOOPBACK))
|
|
else if (rt->dst.dev && (rt->dst.dev->flags & IFF_LOOPBACK))
|
|
|
rtm->rtm_type = RTN_LOCAL;
|
|
rtm->rtm_type = RTN_LOCAL;
|
|
|
else
|
|
else
|