Change in osmo-bts[master]: vty: fix bts_dump_vty(): properly print OML stream ID (TEI)

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/.

fixeria gerrit-no-reply at lists.osmocom.org
Thu Jun 4 20:20:50 UTC 2020


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/18683 )


Change subject: vty: fix bts_dump_vty(): properly print OML stream ID (TEI)
......................................................................

vty: fix bts_dump_vty(): properly print OML stream ID (TEI)

Change-Id: I80ceba60e4b48d5bc68de71a2b2a2036b1e78f57
---
M include/osmo-bts/gsm_data_shared.h
M src/common/vty.c
2 files changed, 2 insertions(+), 2 deletions(-)



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

diff --git a/include/osmo-bts/gsm_data_shared.h b/include/osmo-bts/gsm_data_shared.h
index 2d45e2f..dda7cf0 100644
--- a/include/osmo-bts/gsm_data_shared.h
+++ b/include/osmo-bts/gsm_data_shared.h
@@ -533,7 +533,6 @@
 	int ms_max_power;
 
 	/* how do we talk OML with this TRX? */
-	uint8_t oml_tei;
 	struct e1inp_sign_link *oml_link;
 	struct timespec oml_conn_established_timestamp;
 
diff --git a/src/common/vty.c b/src/common/vty.c
index a57f3b5..1d74b36 100644
--- a/src/common/vty.c
+++ b/src/common/vty.c
@@ -856,7 +856,8 @@
 		bts->description ? bts->description : "(null)", VTY_NEWLINE);
 	vty_out(vty, "  Unit ID: %u/%u/0, OML Stream ID 0x%02x%s",
 			bts->ip_access.site_id, bts->ip_access.bts_id,
-			bts->oml_tei, VTY_NEWLINE);
+			bts->oml_link ? bts->oml_link->tei : 0x00,
+			VTY_NEWLINE);
 	vty_out(vty, "  NM State: ");
 	net_dump_nmstate(vty, &bts->mo.nm_state);
 	vty_out(vty, "  Site Mgr NM State: ");

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I80ceba60e4b48d5bc68de71a2b2a2036b1e78f57
Gerrit-Change-Number: 18683
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200604/ce087d5d/attachment.htm>


More information about the gerrit-log mailing list