summary refs log tree commit diff
path: root/src/nm-netlink-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nm-netlink-utils.c')
-rw-r--r--src/nm-netlink-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nm-netlink-utils.c b/src/nm-netlink-utils.c
index 100b4670..0ec53897 100644
--- a/src/nm-netlink-utils.c
+++ b/src/nm-netlink-utils.c
@@ -452,7 +452,7 @@ nm_netlink_foreach_route (int ifindex,
 	info.user_data = user_data;
 	info.iface = nm_netlink_index_to_iface (ifindex);
 
-	rtnl_route_alloc_cache (nm_netlink_get_default_handle (), family, NL_AUTO_PROVIDE, &cache);
+	rtnl_route_alloc_cache (nm_netlink_get_default_handle (), family, 0, &cache);
 	g_warn_if_fail (cache != NULL);
 	if (cache) {
 		nl_cache_foreach (cache, foreach_route_cb, &info);