Commit 9b2a34c9 authored by Thomas Haller's avatar Thomas Haller

route-manager: always flush IPv6 routes during nm_route_manager_route_flush()

parent 0a6cca94
......@@ -941,8 +941,11 @@ 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, FALSE, TRUE)
&& nm_route_manager_ip6_route_sync (self, ifindex, NULL, FALSE, TRUE);
bool success = TRUE;
success &= (bool) nm_route_manager_ip4_route_sync (self, ifindex, NULL, FALSE, TRUE);
success &= (bool) nm_route_manager_ip6_route_sync (self, ifindex, NULL, FALSE, TRUE);
return success;
}
/*********************************************************************************************/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment