summaryrefslogtreecommitdiff
path: root/clients/cli/connections.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-06-10 15:27:59 +0200
committerThomas Haller <thaller@redhat.com>2020-06-10 15:30:38 +0200
commit9959bc58de5c331e2ef29034d03c3c81bda12a52 (patch)
tree15004dd4a2bcaf9111c7aa1d6e290f49d625a762 /clients/cli/connections.c
parent1573ca755b248b6f50b0882f27ca2d1c88a39443 (diff)
downloadNetworkManager-th/mark-external-connection.tar.gz
cli: show differnt text for state of externally connected devicesth/mark-external-connection
Diffstat (limited to 'clients/cli/connections.c')
-rw-r--r--clients/cli/connections.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clients/cli/connections.c b/clients/cli/connections.c
index 5a4a8ecc3f..44e34d56a6 100644
--- a/clients/cli/connections.c
+++ b/clients/cli/connections.c
@@ -2613,7 +2613,7 @@ progress_active_connection_cb (gpointer user_data)
}
str = device
- ? gettext (nmc_device_state_to_string (nm_device_get_state (device)))
+ ? gettext (nmc_device_state_to_string_with_external (device))
: active_connection_state_to_string (ac_state);
nmc_terminal_show_progress (str);
@@ -6820,7 +6820,7 @@ progress_activation_editor_cb (gpointer user_data)
ac_state = nm_active_connection_get_state (ac);
dev_state = nm_device_get_state (device);
- nmc_terminal_show_progress (gettext (nmc_device_state_to_string (dev_state)));
+ nmc_terminal_show_progress (gettext (nmc_device_state_to_string_with_external (device)));
if ( ac_state == NM_ACTIVE_CONNECTION_STATE_ACTIVATED
|| dev_state == NM_DEVICE_STATE_ACTIVATED) {