diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2020-10-08 20:30:51 +0700 |
---|---|---|
committer | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2020-10-08 17:05:15 +0000 |
commit | 132f72e76a8be26d3c472e5afb555349e08aa979 (patch) | |
tree | d1ad99665828292612f9941e8d6661bda1020d05 /src | |
parent | 05549ae252d2a517e54c2519e8927de5cdde2b1d (diff) |
vty: fix 'show bts' command: print proper BTS variant
Change-Id: I24fc66175f79fe64400371e27b23556054c48dfe
Diffstat (limited to 'src')
-rw-r--r-- | src/common/vty.c | 5 |
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); |