aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/vty.c
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-10-08 20:30:51 +0700
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-10-08 17:05:15 +0000
commit132f72e76a8be26d3c472e5afb555349e08aa979 (patch)
treed1ad99665828292612f9941e8d6661bda1020d05 /src/common/vty.c
parent05549ae252d2a517e54c2519e8927de5cdde2b1d (diff)
vty: fix 'show bts' command: print proper BTS variant
Diffstat (limited to 'src/common/vty.c')
-rw-r--r--src/common/vty.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/vty.c b/src/common/vty.c
index a21b1ec9..f9bccee2 100644
--- a/src/common/vty.c
+++ b/src/common/vty.c
@@ -898,9 +898,10 @@ static void bts_dump_vty(struct vty *vty, const struct gsm_bts *bts)
{
const struct gsm_bts_trx *trx;
- vty_out(vty, "BTS %u is of %s type in band %s, has CI %u LAC %u, "
+ vty_out(vty, "BTS %u is of type '%s', in band %s, has CI %u LAC %u, "
"BSIC %u and %u TRX%s",
- bts->nr, "FIXME", gsm_band_name(bts->band),
+ bts->nr, btsvariant2str(bts->variant),
+ gsm_band_name(bts->band),
bts->cell_identity,
bts->location_area_code, bts->bsic,
bts->num_trx, VTY_NEWLINE);