about summary refs log tree commit diff
path: root/clients/cli/devices.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2016-08-03 23:00:16 +0200
committerMichael Biebl <biebl@debian.org>2016-08-03 23:00:16 +0200
commit511e94811644318cc196e197616fdc558030e8e3 (patch)
tree1ea5c895be190982cc686d43ebed62ae33d60426 /clients/cli/devices.c
parentfb15332b981b5637ae4aeadc546e2f46bf333cd1 (diff)
parentd6201f5d8daada3d64a0a3e0038e14eebec683ce (diff)
Merge tag 'upstream/1.2.4'
Upstream version 1.2.4
Diffstat (limited to 'clients/cli/devices.c')
-rw-r--r--clients/cli/devices.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/clients/cli/devices.c b/clients/cli/devices.c
index 65c4be72..1e3d9e42 100644
--- a/clients/cli/devices.c
+++ b/clients/cli/devices.c
@@ -1716,6 +1716,8 @@ do_device_connect (NmCli *nmc, int argc, char **argv)
 	nmc->nowait_flag = (nmc->timeout == 0);
 	nmc->should_wait++;
 
+	nmc->connections = nm_client_get_connections (nmc->client);
+
 	/* Create secret agent */
 	nmc->secret_agent = nm_secret_agent_simple_new ("nmcli-connect");
 	if (nmc->secret_agent)