summaryrefslogtreecommitdiff
path: root/src/settings/nm-settings.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-03-29 13:01:18 +0200
committerThomas Haller <thaller@redhat.com>2016-03-29 13:01:18 +0200
commit53011592af2d282947a513b2b7da1b3b08be2aea (patch)
treeaf9f3943aac5ff2ea1a685567301e287b400d961 /src/settings/nm-settings.c
parentc473cb42d0d7a2157ddba119aac17fdb9c448e2d (diff)
parentb645a3b39d574fdf4e02bae3ee18bea8a3d3f95c (diff)
downloadNetworkManager-53011592af2d282947a513b2b7da1b3b08be2aea.tar.gz
Merge branch master of git://anongit.freedesktop.org/NetworkManager/NetworkManagerth/mif
Diffstat (limited to 'src/settings/nm-settings.c')
-rw-r--r--src/settings/nm-settings.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/settings/nm-settings.c b/src/settings/nm-settings.c
index a189d7b1b0..1798dc477d 100644
--- a/src/settings/nm-settings.c
+++ b/src/settings/nm-settings.c
@@ -1411,7 +1411,10 @@ 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_STRICT
+ | NM_SETTING_PARSE_FLAGS_NORMALIZE,
+ &error);
if (connection) {
if (!nm_connection_verify_secrets (connection, &error))