libnm: don't normalize connection for nm_device_get_applied_connection()
authorThomas Haller <thaller@redhat.com>
Thu, 17 Mar 2016 09:37:42 +0000 (10:37 +0100)
committerThomas Haller <thaller@redhat.com>
Sat, 26 Mar 2016 11:10:54 +0000 (12:10 +0100)
commita37c1d1e17e3161b61f51816018ad10af1fa569b
treef798450b1af98615fbc431739ec3b9ae86b314b1
parentdf405942ded81e756a5ef9c75a0b118996b33bc5
libnm: don't normalize connection for nm_device_get_applied_connection()

Normalizing means that we fail on invalid connections.
Which can happen when the server is newer than the libnm
version. We just want to return whatever we can. The
caller should make sense of this.

This makes libnm more accepting and thus is not going to break
existing applications. Also, nm_device_get_applied_connection()
is new API since nm-1-1.
libnm/nm-device.c