mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 05:50:08 +01:00
route-manager: consider also 'proto kernel' routes during route_flush()
(cherry picked from commit a96cba8845)
This commit is contained in:
parent
accf3d0f17
commit
4f161e4bea
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
/*********************************************************************************************/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue