aboutsummaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorAnagh G <quic_anaghg@quicinc.com>2025-03-05 11:34:10 +0530
committerDan Williams <dan@ioncontrol.co>2025-03-05 16:15:53 +0000
commitc6c4be9d699fb781d37ffd8c1db7898923a23301 (patch)
tree1837c463086983f6a88e09bfa46053c2fde4c005 /cli
parenta9122abec6bddd87402b41bc781c23a5cc72e2ae (diff)
cli: Added bearer path print after successful modem connect
For a ModemManager simple connect using mmcli, added the bearer path on which call is connected. This helps in determining the bearer path to directly retrieve bearer information easily of this particular call. Signed-off-by: Anagh G <quic_anaghg@quicinc.com>
Diffstat (limited to 'cli')
-rw-r--r--cli/mmcli-modem-simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/mmcli-modem-simple.c b/cli/mmcli-modem-simple.c
index c4d37b5d..b09cd0fa 100644
--- a/cli/mmcli-modem-simple.c
+++ b/cli/mmcli-modem-simple.c
@@ -144,7 +144,7 @@ connect_process_reply (MMBearer *result,
exit (EXIT_FAILURE);
}
- g_print ("successfully connected the modem\n");
+ g_print ("successfully connected the modem at bearer %s\n", mm_bearer_get_path (result));
g_object_unref (result);
}