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 15:38:47 UTC 2020


Vadim Yanitskiy has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/82/20482/1

diff --git a/src/common/vty.c b/src/common/vty.c
index 0d62a0e..98e07be 100644
--- a/src/common/vty.c
+++ b/src/common/vty.c
@@ -869,9 +869,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: 1
Gerrit-Owner: Vadim Yanitskiy <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201008/2dbe885e/attachment.htm>


More information about the gerrit-log mailing list