From 46abdf254c8be7ec0268bc161ee25c978390a53f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20=C5=A0imerda?= Date: Mon, 1 Jul 2013 23:29:30 +0200 Subject: [PATCH] core: convey route priority to nm-platform --- src/nm-system.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nm-system.c b/src/nm-system.c index 626914e84a..59f035c002 100644 --- a/src/nm-system.c +++ b/src/nm-system.c @@ -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.