summaryrefslogtreecommitdiff
path: root/src/settings/nm-settings.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2013-11-15 13:09:12 -0600
committerDan Williams <dcbw@redhat.com>2013-12-05 17:09:46 -0600
commitbefa9083e8df2f044fe33d95c327fea196d3d4ec (patch)
treef63d14b06c8dd5fa1ee91a8a3a83e7b8e3345f08 /src/settings/nm-settings.h
parent75d694db9b7db389904430eaaee4cfe3f9d592e9 (diff)
downloadNetworkManager-befa9083e8df2f044fe33d95c327fea196d3d4ec.tar.gz
core: fuzzier matching of generated connections to persistent ones
When generating a connection, if the device has no non-link-local IPv6 address, then it's unclear whether (a) the connection was link-local originally, or (b) the connection was 'auto' but IPv6 failed or timed out. In this case, if there is a persistent connection that is 'auto' but the generated connection is 'link-local', the persistent connection should be used. Add a more-testable framework for doing the connection matching to handle this.
Diffstat (limited to 'src/settings/nm-settings.h')
-rw-r--r--src/settings/nm-settings.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/settings/nm-settings.h b/src/settings/nm-settings.h
index 345eb04d44..7e699c2820 100644
--- a/src/settings/nm-settings.h
+++ b/src/settings/nm-settings.h
@@ -122,4 +122,6 @@ void nm_settings_device_added (NMSettings *self, NMDevice *device);
void nm_settings_device_removed (NMSettings *self, NMDevice *device, gboolean quitting);
+gint nm_settings_sort_connections (gconstpointer a, gconstpointer b);
+
#endif /* __NM_SETTINGS_H__ */