summary refs log tree commit diff
path: root/examples/C/glib
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2025-11-17 17:43:34 +0100
committerMichael Biebl <biebl@debian.org>2025-11-17 17:43:34 +0100
commit01609e485803fa250413385ae209660fb7b30a2e (patch)
tree0992589c495fcaaea35f4a0452362326a4dbc3ba /examples/C/glib
parentbc5f10851bffd6af1c2855635be7a28b6dba3195 (diff)
New upstream version 1.54.2 upstream/1.54.2
Diffstat (limited to 'examples/C/glib')
-rw-r--r--examples/C/glib/monitor-nm-state-gdbus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/C/glib/monitor-nm-state-gdbus.c b/examples/C/glib/monitor-nm-state-gdbus.c
index 927c966c..9ef8757d 100644
--- a/examples/C/glib/monitor-nm-state-gdbus.c
+++ b/examples/C/glib/monitor-nm-state-gdbus.c
@@ -23,8 +23,8 @@ static const char *
 nm_state_to_string(NMState state)
 {
     switch (state) {
-    case NM_STATE_ASLEEP:
-        return "asleep";
+    case NM_STATE_DISABLED:
+        return "network off";
     case NM_STATE_CONNECTING:
         return "connecting";
     case NM_STATE_CONNECTED_LOCAL: