diff options
-rw-r--r-- | src/connection-editor/connection-helpers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/connection-editor/connection-helpers.c b/src/connection-editor/connection-helpers.c index a58a2fbb..43ff2838 100644 --- a/src/connection-editor/connection-helpers.c +++ b/src/connection-editor/connection-helpers.c @@ -272,8 +272,8 @@ import_vpn_from_file_cb (GtkWidget *dialog, gint response, gpointer user_data) connection = connection_import_from_file (filename, G_TYPE_INVALID, NULL, &error); if (!connection) { /* pass */ - } else if (nm_streq (nm_connection_get_connection_type (connection), - NM_SETTING_WIREGUARD_SETTING_NAME)) { + } else if (nm_streq0 (nm_connection_get_connection_type (connection), + NM_SETTING_WIREGUARD_SETTING_NAME)) { info->result_func (FUNC_TAG_PAGE_NEW_CONNECTION_RESULT_CALL, connection, FALSE, NULL, info->user_data); } else { |