libnm-core: add _nm_simple_connection_new_from_dbus() function
[NetworkManager.git] / src / settings / nm-settings.c
index f090185..fc2daa0 100644 (file)
@@ -1407,7 +1407,9 @@ impl_settings_add_connection_helper (NMSettings *self,
        NMConnection *connection;
        GError *error = NULL;
 
-       connection = nm_simple_connection_new_from_dbus (settings, &error);
+       connection = _nm_simple_connection_new_from_dbus (settings,
+                                                         NM_SETTING_PARSE_FLAGS_NORMALIZE,
+                                                         &error);
 
        if (connection) {
                if (!nm_connection_verify_secrets (connection, &error))