summaryrefslogtreecommitdiff
path: root/src/settings/nm-settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings/nm-settings.c')
-rw-r--r--src/settings/nm-settings.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/settings/nm-settings.c b/src/settings/nm-settings.c
index be413f8759..c08ccfb744 100644
--- a/src/settings/nm-settings.c
+++ b/src/settings/nm-settings.c
@@ -331,8 +331,10 @@ connection_sort (gconstpointer pa, gconstpointer pb)
return 1;
}
-/* Returns a list of NMSettingsConnections. Caller must free the list with
- * g_slist_free().
+/* Returns a list of NMSettingsConnections.
+ * The list is sorted in the order suitable for auto-connecting, i.e.
+ * first go connections with autoconnect=yes and most recent timestamp.
+ * Caller must free the list with g_slist_free().
*/
GSList *
nm_settings_get_connections (NMSettings *self)