about summary refs log tree commit diff
path: root/src/libnmc-base/nm-client-utils.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2022-08-16 18:25:29 +0200
committerMichael Biebl <biebl@debian.org>2022-08-16 18:25:29 +0200
commite8c0c4050b07c08cc0f34d41cdff98f2cdc1cc93 (patch)
tree79a3d9572e508d4b193ea175c8ed103b2024f727 /src/libnmc-base/nm-client-utils.c
parent49ac65f875a36d7ebcbc8270cf0fc60acbb2e052 (diff)
parent0018d1f3cf71d680d7b6bceda55a5717244d8b26 (diff)
Update upstream source from tag 'upstream/1.39.90'
Update to upstream version '1.39.90'
with Debian dir 898f1bfdb7bf17595463e4195c78d8455df545e6
Diffstat (limited to 'src/libnmc-base/nm-client-utils.c')
-rw-r--r--src/libnmc-base/nm-client-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libnmc-base/nm-client-utils.c b/src/libnmc-base/nm-client-utils.c
index e2ed7fc2..4ce1ac6c 100644
--- a/src/libnmc-base/nm-client-utils.c
+++ b/src/libnmc-base/nm-client-utils.c
@@ -305,7 +305,7 @@ NM_UTILS_LOOKUP_STR_DEFINE(
     NM_UTILS_LOOKUP_ITEM(NM_DEVICE_STATE_UNKNOWN, N_("unknown")), );
 
 static NM_UTILS_LOOKUP_STR_DEFINE(
-    _device_state_to_string,
+    _device_state_externally_to_string,
     NMDeviceState,
     NM_UTILS_LOOKUP_DEFAULT(NULL),
     NM_UTILS_LOOKUP_ITEM(NM_DEVICE_STATE_PREPARE, N_("connecting (externally)")),
@@ -330,7 +330,7 @@ nmc_device_state_to_string_with_external(NMDevice *device)
 
     if ((ac = nm_device_get_active_connection(device))
         && NM_FLAGS_HAS(nm_active_connection_get_state_flags(ac), NM_ACTIVATION_STATE_FLAG_EXTERNAL)
-        && (s = _device_state_to_string(state)))
+        && (s = _device_state_externally_to_string(state)))
         return s;
 
     return nmc_device_state_to_string(state);