route-manager: consider also 'proto kernel' routes during route_flush()

(cherry picked from commit a96cba8845)
This commit is contained in:
Thomas Haller 2015-06-24 12:26:17 +02:00
parent accf3d0f17
commit 4f161e4bea

View file

@ -632,8 +632,8 @@ nm_route_manager_ip6_route_sync (NMRouteManager *self, int ifindex, const GArray
gboolean
nm_route_manager_route_flush (NMRouteManager *self, int ifindex)
{
return nm_route_manager_ip4_route_sync (self, ifindex, NULL, TRUE)
&& nm_route_manager_ip6_route_sync (self, ifindex, NULL, TRUE);
return nm_route_manager_ip4_route_sync (self, ifindex, NULL, FALSE)
&& nm_route_manager_ip6_route_sync (self, ifindex, NULL, FALSE);
}
/*********************************************************************************************/