aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli-bearer.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-11-26 15:34:26 +0100
committerAleksander Morgado <aleksander@aleksander.es>2021-12-24 14:05:35 +0100
commitfb0b00db1665ada988f0c519e2719b640b8478ef (patch)
tree50d2015d9c902d6281ad624a24979a1a0661aeea /cli/mmcli-bearer.c
parent99ca2f5a1ca122895c8f584d31caf9fe6725375b (diff)
cli: new 'roaming-allowance' in 3GPP profile and bearer properties
Diffstat (limited to 'cli/mmcli-bearer.c')
-rw-r--r--cli/mmcli-bearer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/mmcli-bearer.c b/cli/mmcli-bearer.c
index 5a5e3e8d..1789f3f9 100644
--- a/cli/mmcli-bearer.c
+++ b/cli/mmcli-bearer.c
@@ -174,6 +174,7 @@ print_bearer_info (MMBearer *bearer)
gchar *allowed_auth_str = NULL;
gchar *properties_profile_id_str = NULL;
const gchar *access_type_preference_str = NULL;
+ gchar *roaming_allowance_str = NULL;
if (properties) {
gint properties_profile_id;
@@ -193,6 +194,7 @@ print_bearer_info (MMBearer *bearer)
rm_protocol = mm_modem_cdma_rm_protocol_get_string (mm_bearer_properties_get_rm_protocol (properties));
}
access_type_preference_str = mm_bearer_access_type_preference_get_string (mm_bearer_properties_get_access_type_preference (properties));
+ roaming_allowance_str = mm_bearer_roaming_allowance_build_string_from_mask (mm_bearer_properties_get_roaming_allowance (properties));
}
mmcli_output_string_take (MMC_F_BEARER_PROPERTIES_PROFILE_ID, properties_profile_id_str);
@@ -205,6 +207,7 @@ print_bearer_info (MMBearer *bearer)
mmcli_output_string (MMC_F_BEARER_PROPERTIES_RM_PROTOCOL, rm_protocol);
mmcli_output_string_list_take (MMC_F_BEARER_PROPERTIES_ALLOWED_AUTH, allowed_auth_str);
mmcli_output_string (MMC_F_BEARER_PROPERTIES_ACCESS_TYPE_PREFERENCE, access_type_preference_str);
+ mmcli_output_string_take (MMC_F_BEARER_PROPERTIES_ROAMING_ALLOWANCE, roaming_allowance_str);
}
/* IPv4 config */