diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2014-09-11 14:57:03 +0200 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2014-09-18 11:22:15 +0200 |
commit | 2fd1ba4c6d17e9b7fef80a39a951674c541d1cf7 (patch) | |
tree | 113d40e37d70788adc4493b0d70376d5e7317e2c /openbsc/src/gprs/gb_proxy_vty.c | |
parent | 6bafa4ce0ddb9e4c97497452f521df5a8cdf703c (diff) |
gbproxy: Replace 'mi_data' by 'imsi'
Since at all places where mi_data/mi_data_len is used it will always
contain an IMSI. Thus the names of the identifiers have been updated
accordingly for clarity.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'openbsc/src/gprs/gb_proxy_vty.c')
-rw-r--r-- | openbsc/src/gprs/gb_proxy_vty.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/openbsc/src/gprs/gb_proxy_vty.c b/openbsc/src/gprs/gb_proxy_vty.c index fd49b0179..efdf751d9 100644 --- a/openbsc/src/gprs/gb_proxy_vty.c +++ b/openbsc/src/gprs/gb_proxy_vty.c @@ -437,11 +437,11 @@ DEFUN(show_gbproxy_tllis, show_gbproxy_tllis_cmd, "show gbproxy tllis", llist_for_each(iter, &tlli_info->stored_msgs) stored_msgs++; - if (tlli_info->mi_data_len > 0) { + if (tlli_info->imsi > 0) { snprintf(mi_buf, sizeof(mi_buf), "(invalid)"); gsm48_mi_to_string(mi_buf, sizeof(mi_buf), - tlli_info->mi_data, - tlli_info->mi_data_len); + tlli_info->imsi, + tlli_info->imsi_len); } else { snprintf(mi_buf, sizeof(mi_buf), "(none)"); } @@ -612,8 +612,8 @@ DEFUN(delete_gb_tlli, delete_gb_tlli_cmd, if (match == MATCH_IMSI) { mi_buf[0] = '\0'; gsm48_mi_to_string(mi_buf, sizeof(mi_buf), - tlli_info->mi_data, - tlli_info->mi_data_len); + tlli_info->imsi, + tlli_info->imsi_len); if (strcmp(mi_buf, imsi) != 0) continue; |