summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libnm-core/nm-simple-connection.c2
-rw-r--r--libnm-core/tests/test-general.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libnm-core/nm-simple-connection.c b/libnm-core/nm-simple-connection.c
index 93cc4c786a..c67f624454 100644
--- a/libnm-core/nm-simple-connection.c
+++ b/libnm-core/nm-simple-connection.c
@@ -73,7 +73,7 @@ nm_simple_connection_new_from_dbus (GVariant *dict, GError **error)
connection = nm_simple_connection_new ();
if ( !nm_connection_replace_settings (connection, dict, error)
- || !nm_connection_verify (connection, error))
+ || !nm_connection_normalize (connection, NULL, NULL, error))
g_clear_object (&connection);
return connection;
}
diff --git a/libnm-core/tests/test-general.c b/libnm-core/tests/test-general.c
index 91d421190c..46d58ca3d9 100644
--- a/libnm-core/tests/test-general.c
+++ b/libnm-core/tests/test-general.c
@@ -1424,7 +1424,7 @@ test_connection_new_from_dbus (void)
g_assert_cmpstr (nm_setting_connection_get_uuid (s_con), ==, uuid);
g_assert (nm_connection_get_setting_wired (connection));
- g_assert (!nm_connection_get_setting_ip4_config (connection));
+ g_assert (nm_connection_get_setting_ip4_config (connection));
s_ip6 = nm_connection_get_setting_ip6_config (connection);
g_assert (s_ip6);