Comment 8 for bug 411668

Revision history for this message
Alexander Sack (asac) wrote :

proposed patch:

diff --git a/src/system-settings/nm-sysconfig-settings.c b/src/system-settings/nm-sysconfig-settings.c
index 99f71c1..99963d5 100644
--- a/src/system-settings/nm-sysconfig-settings.c
+++ b/src/system-settings/nm-sysconfig-settings.c
@@ -172,7 +172,7 @@ static void
 find_by_path (gpointer key, gpointer data, gpointer user_data)
 {
  FindConnectionInfo *info = user_data;
- NMSysconfigConnection *exported = NM_SYSCONFIG_CONNECTION (data);
+ NMSysconfigConnection *exported = NM_SYSCONFIG_CONNECTION (key);
  const char *path;

  if (!info->found) {