diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2018-12-13 10:46:58 +0100 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2019-01-03 16:42:18 +0000 |
commit | 55c3026643ee6c75c0a68171abd884edf035b9ba (patch) | |
tree | f1bc2faa1bd0da6c8cec498dbb368a01e3952c0b /cli/mmcli-bearer.c | |
parent | 5dc79ce6069a388db8c94a9fbe35cfee07445bb0 (diff) |
api: deprecate 'number' in bearer properties
https://gitlab.freedesktop.org/mobile-broadband/ModemManager/issues/99
Diffstat (limited to 'cli/mmcli-bearer.c')
-rw-r--r-- | cli/mmcli-bearer.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cli/mmcli-bearer.c b/cli/mmcli-bearer.c index f07fdfbe..6e239ed4 100644 --- a/cli/mmcli-bearer.c +++ b/cli/mmcli-bearer.c @@ -158,7 +158,6 @@ print_bearer_info (MMBearer *bearer) gchar *ip_family_str = NULL; const gchar *user = NULL; const gchar *password = NULL; - const gchar *number = NULL; const gchar *rm_protocol = NULL; if (properties) { @@ -168,7 +167,6 @@ print_bearer_info (MMBearer *bearer) password = mm_bearer_properties_get_password (properties); if (mm_bearer_get_bearer_type (bearer) != MM_BEARER_TYPE_DEFAULT_ATTACH) { roaming = mm_bearer_properties_get_allow_roaming (properties) ? "allowed" : "forbidden"; - number = mm_bearer_properties_get_number (properties); rm_protocol = mm_modem_cdma_rm_protocol_get_string (mm_bearer_properties_get_rm_protocol (properties)); } } @@ -178,7 +176,6 @@ print_bearer_info (MMBearer *bearer) mmcli_output_string_take (MMC_F_BEARER_PROPERTIES_IP_TYPE, ip_family_str); mmcli_output_string (MMC_F_BEARER_PROPERTIES_USER, user); mmcli_output_string (MMC_F_BEARER_PROPERTIES_PASSWORD, password); - mmcli_output_string (MMC_F_BEARER_PROPERTIES_NUMBER, number); mmcli_output_string (MMC_F_BEARER_PROPERTIES_RM_PROTOCOL, rm_protocol); } |