mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-31 14:50:10 +01:00
device: clear secrets from applied connection during reapply
The applied connection must have no secrets. It's unclear whether there are any secrets at this point (possibly). To be sure, clear them.
This commit is contained in:
parent
ec840b0331
commit
b52d25e129
1 changed files with 1 additions and 0 deletions
|
|
@ -7503,6 +7503,7 @@ reapply_connection (NMDevice *self,
|
|||
con_old = applied_clone = nm_simple_connection_new_clone (applied);
|
||||
con_new = applied;
|
||||
nm_connection_replace_settings_from_connection (applied, connection);
|
||||
nm_connection_clear_secrets (applied);
|
||||
} else
|
||||
con_old = con_new = applied;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue