diff options
author | Thomas Haller <thaller@redhat.com> | 2016-03-29 13:01:18 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-03-29 13:01:18 +0200 |
commit | 53011592af2d282947a513b2b7da1b3b08be2aea (patch) | |
tree | af9f3943aac5ff2ea1a685567301e287b400d961 /libnm/nm-device.c | |
parent | c473cb42d0d7a2157ddba119aac17fdb9c448e2d (diff) | |
parent | b645a3b39d574fdf4e02bae3ee18bea8a3d3f95c (diff) | |
download | NetworkManager-th/mif.tar.gz |
Merge branch master of git://anongit.freedesktop.org/NetworkManager/NetworkManagerth/mif
Diffstat (limited to 'libnm/nm-device.c')
-rw-r--r-- | libnm/nm-device.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/libnm/nm-device.c b/libnm/nm-device.c index 28747e1c12..ab3c5d4e8d 100644 --- a/libnm/nm-device.c +++ b/libnm/nm-device.c @@ -2331,6 +2331,9 @@ nm_device_reapply_finish (NMDevice *device, * Returns: (transfer full): a %NMConnection with the currently applied settings * or %NULL on error. * + * The connection is as received from D-Bus and might not validate according + * to nm_connection_verify(). + * * Since: 1.2 **/ NMConnection * @@ -2357,7 +2360,7 @@ nm_device_get_applied_connection (NMDevice *device, return NULL; } - connection = nm_simple_connection_new_from_dbus (dict, error); + connection = _nm_simple_connection_new_from_dbus (dict, NM_SETTING_PARSE_FLAGS_BEST_EFFORT, error); if (!connection) return NULL; @@ -2399,7 +2402,7 @@ device_get_applied_connection_cb (GObject *proxy, goto out; } - connection = nm_simple_connection_new_from_dbus (dict, &error); + connection = _nm_simple_connection_new_from_dbus (dict, NM_SETTING_PARSE_FLAGS_BEST_EFFORT, &error); if (!connection) { g_simple_async_result_take_error (simple, error); goto out; @@ -2459,6 +2462,9 @@ nm_device_get_applied_connection_async (NMDevice *device, * Returns: (transfer full): a currently applied %NMConnection or %NULL in case * of error. * + * The connection is as received from D-Bus and might not validate according + * to nm_connection_verify(). + * * Since: 1.2 **/ NMConnection * |