mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-26 14:40:08 +01:00
core: convey route priority to nm-platform
This commit is contained in:
parent
9e3f18f0ba
commit
46abdf254c
1 changed files with 1 additions and 0 deletions
|
|
@ -361,6 +361,7 @@ nm_system_apply_ip6_config (int ifindex,
|
|||
route.network = *nm_ip6_route_get_dest (config_route);
|
||||
route.plen = nm_ip6_route_get_prefix (config_route);
|
||||
route.gateway = *nm_ip6_route_get_next_hop (config_route);
|
||||
route.metric = priority;
|
||||
|
||||
/* Don't add the route if it's more specific than one of the subnets
|
||||
* the device already has an IP address on.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue