platform: fix data type for metric argument of refresh_route()

This commit is contained in:
Thomas Haller
2014-12-22 18:05:17 +01:00
parent 3e33a5a6c5
commit 4ba8df425f

View File

@@ -3884,7 +3884,7 @@ route_search_cache (struct nl_cache *cache, int family, int ifindex, const void
} }
static gboolean static gboolean
refresh_route (NMPlatform *platform, int family, int ifindex, const void *network, int plen, int metric) refresh_route (NMPlatform *platform, int family, int ifindex, const void *network, int plen, guint32 metric)
{ {
struct nl_cache *cache; struct nl_cache *cache;
auto_nl_object struct rtnl_route *cached_object = NULL; auto_nl_object struct rtnl_route *cached_object = NULL;