Don't create roam jobs based on cached/cloned routes.
This commit is contained in:
1 parent
9896b6bd58
commit
8ec51f83e5
1 file changed
+4
@@ -789,6 +789,10 @@ static void process_route(private_kernel_netlink_net_t *this, struct nlmsghdr *h
|
|||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
else if (msg->rtm_flags & RTM_F_CLONED)
|
||||||
|
{ /* ignore cached routes, seem to be created a lot for IPv6 */
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
while (RTA_OK(rta, rtasize))
|
while (RTA_OK(rta, rtasize))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user