aboutsummaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/mmcli-output.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/mmcli-output.c b/cli/mmcli-output.c
index 9be366e1..c012c1bd 100644
--- a/cli/mmcli-output.c
+++ b/cli/mmcli-output.c
@@ -898,6 +898,9 @@ build_profile_human (GPtrArray *array,
g_ptr_array_add (array, g_strdup_printf ("profile-id: %u", mm_3gpp_profile_get_profile_id (profile)));
+ if ((aux = mm_3gpp_profile_get_profile_name (profile)) != NULL)
+ g_ptr_array_add (array, g_strdup_printf (" profile name: %s", aux));
+
if ((aux = mm_3gpp_profile_get_apn (profile)) != NULL)
g_ptr_array_add (array, g_strdup_printf (" apn: %s", aux));
@@ -945,6 +948,9 @@ build_profile_keyvalue (GPtrArray *array,
str = g_string_new ("");
g_string_append_printf (str, "profile-id: %u", mm_3gpp_profile_get_profile_id (profile));
+ if ((aux = mm_3gpp_profile_get_profile_name (profile)) != NULL)
+ g_string_append_printf (str, ", profile-name: %s", aux);
+
if ((aux = mm_3gpp_profile_get_apn (profile)) != NULL)
g_string_append_printf (str, ", apn: %s", aux);