diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-01-06 09:43:08 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-01-06 09:44:09 +0100 |
commit | b3fc1eb53c077b50e84439926683e334fd7f1d57 (patch) | |
tree | 961b25687228b06617b55179a6a1311bf1dcaf40 /openbsc | |
parent | b91a106932187125e00646ff9fd919050f533464 (diff) |
[vty] Move db usage out of the libbsc (fork dumping of subscr) (2nd part)
Follow up on 424c4f0e2927d5a7538b31c69113c6e4f861d2c9. As pointed out
by Sylvain on the mailinglist I need to remove this here as well.
Do not call db.c code from code that is located in libbsc.a
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/vty_interface.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/openbsc/src/vty_interface.c b/openbsc/src/vty_interface.c index 8301f7893..f978c27fc 100644 --- a/openbsc/src/vty_interface.c +++ b/openbsc/src/vty_interface.c @@ -531,32 +531,6 @@ static void subscr_dump_vty(struct vty *vty, struct gsm_subscriber *subscr) vty_out(vty, " TMSI: %08X%s", subscr->tmsi, VTY_NEWLINE); - rc = get_authinfo_by_subscr(&ainfo, subscr); - if (!rc) { - vty_out(vty, " A3A8 algorithm id: %d%s", - ainfo.auth_algo, VTY_NEWLINE); - vty_out(vty, " A3A8 Ki: %s%s", - hexdump(ainfo.a3a8_ki, ainfo.a3a8_ki_len), - VTY_NEWLINE); - } - - rc = get_authtuple_by_subscr(&atuple, subscr); - if (!rc) { - vty_out(vty, " A3A8 last tuple (used %d times):%s", - atuple.use_count, VTY_NEWLINE); - vty_out(vty, " seq # : %d%s", - atuple.key_seq, VTY_NEWLINE); - vty_out(vty, " RAND : %s%s", - hexdump(atuple.rand, sizeof(atuple.rand)), - VTY_NEWLINE); - vty_out(vty, " SRES : %s%s", - hexdump(atuple.sres, sizeof(atuple.sres)), - VTY_NEWLINE); - vty_out(vty, " Kc : %s%s", - hexdump(atuple.kc, sizeof(atuple.kc)), - VTY_NEWLINE); - } - vty_out(vty, " Use count: %u%s", subscr->use_count, VTY_NEWLINE); } |