From b52d25e129e30e15ee8d63792d3549fb3ec1ab04 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Sat, 30 Apr 2016 12:34:17 +0200 Subject: [PATCH] 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. --- src/devices/nm-device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 0256618d3..48c52005e 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -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;