From 557c84e9f7d3273734685049f628d65a035265c7 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 20 Nov 2015 10:50:24 +0100 Subject: vty: Print NCC/BCC and not just integer value of BSIC --- openbsc/src/libbsc/bsc_vty.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openbsc/src/libbsc/bsc_vty.c b/openbsc/src/libbsc/bsc_vty.c index 306fff02e..d401b0847 100644 --- a/openbsc/src/libbsc/bsc_vty.c +++ b/openbsc/src/libbsc/bsc_vty.c @@ -253,10 +253,11 @@ static void bts_dump_vty(struct vty *vty, struct gsm_bts *bts) struct pchan_load pl; vty_out(vty, "BTS %u is of %s type in band %s, has CI %u LAC %u, " - "BSIC %u and %u TRX%s", + "BSIC %u (NCC=%u, BCC=%u) and %u TRX%s", bts->nr, btstype2str(bts->type), gsm_band_name(bts->band), bts->cell_identity, bts->location_area_code, bts->bsic, + bts->bsic >> 3, bts->bsic & 7, bts->num_trx, VTY_NEWLINE); vty_out(vty, "Description: %s%s", bts->description ? bts->description : "(null)", VTY_NEWLINE); -- cgit v1.2.3