aboutsummaryrefslogtreecommitdiffstats
path: root/tests/msc_vlr/msc_vlr_tests.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-09-17 00:54:52 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2018-09-17 01:19:12 +0200
commitd28ea6c8c32b2e3d4505e324c322a31620ce175b (patch)
tree18197c8d9c8ccd4fbaa19572192dfe91842792e2 /tests/msc_vlr/msc_vlr_tests.c
parent986fe7ed18580775bed91399a1f02eae60bda251 (diff)
msc_vlr_tests: cosmetically tweak perm algo printing
In the msc_vlr_tests, instead of printing the algo IDs, rather print the corresponding A5/n name, for clarity. Change-Id: Ic00f1e54490650bcb40170647b8ffd52ede23fd3
Diffstat (limited to 'tests/msc_vlr/msc_vlr_tests.c')
-rw-r--r--tests/msc_vlr/msc_vlr_tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/msc_vlr/msc_vlr_tests.c b/tests/msc_vlr/msc_vlr_tests.c
index f8551dde7..bf1b20056 100644
--- a/tests/msc_vlr/msc_vlr_tests.c
+++ b/tests/msc_vlr/msc_vlr_tests.c
@@ -723,7 +723,7 @@ int __wrap_a_iface_tx_cipher_mode(const struct gsm_subscriber_connection *conn,
btw("sending Ciphering Mode Command for %s: include_imeisv=%d",
vlr_subscr_name(conn->vsub), include_imeisv);
for (i = 0; i < ei->perm_algo_len; i++)
- btw("...perm algo: %u", ei->perm_algo[i]);
+ btw("...perm algo: A5/%u", ei->perm_algo[i] - 1);
OSMO_ASSERT(ei->key_len <= sizeof(ei->key));
btw("...key: %s", osmo_hexdump_nospc(ei->key, ei->key_len));
cipher_mode_cmd_sent = true;