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 22:59:23 +0200
committerMichael Biebl <biebl@debian.org>2016-08-03 22:59:23 +0200
commitd6201f5d8daada3d64a0a3e0038e14eebec683ce (patch)
tree035500728cc23e7ee5368c3fd605270265a077f7 /clients/cli/devices.c
parent73e152af6e3fb4f5848bfb8394484026ff119003 (diff)
Imported Upstream version 1.2.4 upstream/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)