Change in osmo-bts[master]: vty: fix 'show bts' command: print proper BTS variant

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Thu Oct 8 17:05:15 UTC 2020


Vadim Yanitskiy has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/20482 )

Change subject: vty: fix 'show bts' command: print proper BTS variant
......................................................................

vty: fix 'show bts' command: print proper BTS variant

Change-Id: I24fc66175f79fe64400371e27b23556054c48dfe
---
M src/common/vty.c
1 file changed, 3 insertions(+), 2 deletions(-)

Approvals:
  pespin: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/common/vty.c b/src/common/vty.c
index a21b1ec..f9bccee 100644
--- a/src/common/vty.c
+++ b/src/common/vty.c
@@ -898,9 +898,10 @@
 {
 	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);

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/20482
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I24fc66175f79fe64400371e27b23556054c48dfe
Gerrit-Change-Number: 20482
Gerrit-PatchSet: 2
Gerrit-Owner: Vadim Yanitskiy <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Vadim Yanitskiy <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201008/b69ba7b8/attachment.htm>


More information about the gerrit-log mailing list