summaryrefslogtreecommitdiff
path: root/libnm-util/nm-utils.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-11-27 15:59:08 +0100
committerThomas Haller <thaller@redhat.com>2014-12-05 11:04:20 +0100
commitcd025f05f7b0a2970ead8db3f093b9da4c324c8b (patch)
tree75777be3f5165ac5dc5085ff6308664fb546198e /libnm-util/nm-utils.c
parent9e2203c418816578c2b5c2f73a739024c7fef202 (diff)
downloadNetworkManager-cd025f05f7b0a2970ead8db3f093b9da4c324c8b.tar.gz
libnm: normalize connections in nm_simple_connection_new_from_dbus()
Before we would just call verify() and only return valid connections without attempting to fix them. It is better to use normalize(), because that function is especially there to accept and repair deprecated configurations that would no longer verify(). This changes behavior in the way that the function now accepts connections that would have been rejected before. Since commit b88715e05bc16c40ae68958c58aa86c2ad029a82 normalize() also adds a missing UUID. Hence this also affects the DBUS method 'AddConnection' in that it now accepts connections without UUID. Previously, clients were required to set a UUID for the new connection, now NM core can create a random one if no UUID is set. https://bugzilla.gnome.org/show_bug.cgi?id=740813
Diffstat (limited to 'libnm-util/nm-utils.c')
0 files changed, 0 insertions, 0 deletions