mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 17:20:11 +01:00
device: fix crash in nm_device_generate_connection()
Fixes:89d1c9fb30https://bugzilla.redhat.com/show_bug.cgi?id=1631741 (cherry picked from commitf744e29dd3)
This commit is contained in:
parent
ea4f8a0cad
commit
3fc592219e
1 changed files with 1 additions and 1 deletions
|
|
@ -5486,7 +5486,7 @@ nm_device_generate_connection (NMDevice *self,
|
|||
|
||||
klass->update_connection (self, connection);
|
||||
|
||||
if (!nm_connection_normalize (connection, NULL, NULL, error)) {
|
||||
if (!nm_connection_normalize (connection, NULL, NULL, &local)) {
|
||||
g_set_error (error, NM_DEVICE_ERROR, NM_DEVICE_ERROR_FAILED,
|
||||
"generated connection does not verify: %s",
|
||||
local->message);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue