summaryrefslogtreecommitdiff
path: root/src/connection-editor/nm-connection-list.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/connection-editor/nm-connection-list.c')
-rw-r--r--src/connection-editor/nm-connection-list.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/connection-editor/nm-connection-list.c b/src/connection-editor/nm-connection-list.c
index d0271e36..1eb0a4c2 100644
--- a/src/connection-editor/nm-connection-list.c
+++ b/src/connection-editor/nm-connection-list.c
@@ -1045,13 +1045,13 @@ nm_connection_list_create (NMConnectionList *list,
if (import_filename) {
if (ctype == G_TYPE_INVALID) {
- connection = connection_import_from_file (import_filename, ctype, NULL);
+ connection = connection_import_from_file (import_filename, ctype, NULL, NULL);
if (!connection) {
g_set_error (&error, NMA_ERROR, NMA_ERROR_GENERIC,
_ ("Unrecognized connection type"));
}
} else if (NM_IN_SET (ctype, NM_TYPE_SETTING_VPN, NM_TYPE_SETTING_WIREGUARD)) {
- connection = connection_import_from_file (import_filename, ctype, &error);
+ connection = connection_import_from_file (import_filename, ctype, detail, &error);
} else {
g_set_error (&error, NMA_ERROR, NMA_ERROR_GENERIC,
_("Don’t know how to import “%s” connections"), g_type_name (ctype));