summaryrefslogtreecommitdiff
path: root/src/nm-checkpoint.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-11-22 12:46:58 +0100
committerThomas Haller <thaller@redhat.com>2017-11-27 14:04:11 +0100
commit51531c953972215e0b15900463378fb8524b4232 (patch)
treedbfd9234cd28e415df52f2a05ac689ff7fb987e9 /src/nm-checkpoint.c
parent3b874554ac4e3267f1b63a58b88239ac6c69282c (diff)
downloadNetworkManager-51531c953972215e0b15900463378fb8524b4232.tar.gz
core: merge nm_settings_get_connections_sorted() with nm_settings_get_connections_clone()
Diffstat (limited to 'src/nm-checkpoint.c')
-rw-r--r--src/nm-checkpoint.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nm-checkpoint.c b/src/nm-checkpoint.c
index 54b577642e..0390255ddc 100644
--- a/src/nm-checkpoint.c
+++ b/src/nm-checkpoint.c
@@ -335,7 +335,9 @@ next_dev:
guint i;
g_return_val_if_fail (priv->connection_uuids, NULL);
- list = nm_settings_get_connections_sorted (nm_settings_get (), NULL);
+ list = nm_settings_get_connections_clone (nm_settings_get (), NULL,
+ NULL, NULL,
+ nm_settings_connection_cmp_autoconnect_priority_p_with_data, NULL);
for (i = 0; list[i]; i++) {
con = list[i];