diff options
author | Harald Welte <laforge@gnumonks.org> | 2015-11-20 10:50:24 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2015-11-20 10:50:24 +0100 |
commit | 557c84e9f7d3273734685049f628d65a035265c7 (patch) | |
tree | a21e500292c9a04cb4eed872706243658e59b859 | |
parent | a2bbc5ec0e6481bb5b65da7bdbde03a424437af4 (diff) |
vty: Print NCC/BCC and not just integer value of BSIC
-rw-r--r-- | openbsc/src/libbsc/bsc_vty.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |