aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli-output.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-11-26 21:24:13 +0100
committerAleksander Morgado <aleksander@aleksander.es>2021-12-24 14:05:35 +0100
commit3c0d94ac03abb02a4d01b09ed859258260452ec8 (patch)
tree4633cb425f6ad7440d0a299120f9ddb9df5cbc4c /cli/mmcli-output.c
parentfb0b00db1665ada988f0c519e2719b640b8478ef (diff)
cli: new 'profile-source' setting in 3GPP profile
Diffstat (limited to 'cli/mmcli-output.c')
-rw-r--r--cli/mmcli-output.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/mmcli-output.c b/cli/mmcli-output.c
index c7a98922..87490a0c 100644
--- a/cli/mmcli-output.c
+++ b/cli/mmcli-output.c
@@ -933,6 +933,7 @@ build_profile_human (GPtrArray *array,
MMBearerApnType apn_type;
MMBearerAccessTypePreference access_type_preference;
MMBearerRoamingAllowance roaming_allowance;
+ MMBearerProfileSource profile_source;
g_ptr_array_add (array, g_strdup_printf ("profile-id: %u", mm_3gpp_profile_get_profile_id (profile)));
g_ptr_array_add (array, g_strdup_printf (" profile enabled: %s",
@@ -987,6 +988,12 @@ build_profile_human (GPtrArray *array,
roaming_allowance_str = mm_bearer_roaming_allowance_build_string_from_mask (roaming_allowance);
g_ptr_array_add (array, g_strdup_printf (" roaming allowance: %s", roaming_allowance_str));
}
+
+ profile_source = mm_3gpp_profile_get_profile_source (profile);
+ if (profile_source != MM_BEARER_PROFILE_SOURCE_UNKNOWN) {
+ aux = mm_bearer_profile_source_get_string (profile_source);
+ g_ptr_array_add (array, g_strdup_printf (" profile source: %s", aux));
+ }
}
static void