Change in osmo-bts[master]: osmo-bts-trx: print TRX socket addresses in 'show transceiver'

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

Max gerrit-no-reply at lists.osmocom.org
Tue Nov 13 15:46:01 UTC 2018


Max has uploaded this change for review. ( https://gerrit.osmocom.org/11764


Change subject: osmo-bts-trx: print TRX socket addresses in 'show transceiver'
......................................................................

osmo-bts-trx: print TRX socket addresses in 'show transceiver'

Change-Id: I081305d730cbdb14b5ce1dbfee18673328225b66
---
M src/osmo-bts-trx/trx_vty.c
1 file changed, 2 insertions(+), 1 deletion(-)



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

diff --git a/src/osmo-bts-trx/trx_vty.c b/src/osmo-bts-trx/trx_vty.c
index 1dfc617..d1c58b4 100644
--- a/src/osmo-bts-trx/trx_vty.c
+++ b/src/osmo-bts-trx/trx_vty.c
@@ -32,6 +32,7 @@
 #include <osmocom/core/talloc.h>
 #include <osmocom/core/select.h>
 #include <osmocom/core/bits.h>
+#include <osmocom/core/socket.h>
 
 #include <osmocom/vty/vty.h>
 #include <osmocom/vty/command.h>
@@ -66,7 +67,7 @@
 	llist_for_each_entry(trx, &bts->trx_list, list) {
 		struct phy_instance *pinst = trx_phy_instance(trx);
 		l1h = pinst->u.osmotrx.hdl;
-		vty_out(vty, "TRX %d%s", trx->nr, VTY_NEWLINE);
+		vty_out(vty, "TRX %d %s%s", trx->nr, osmo_sock_get_name(NULL, pinst->phy_link->u.osmotrx.trx_ofd_clk.fd), VTY_NEWLINE);
 		vty_out(vty, " %s%s",
 			(l1h->config.poweron) ? "poweron":"poweroff",
 			VTY_NEWLINE);

-- 
To view, visit https://gerrit.osmocom.org/11764
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I081305d730cbdb14b5ce1dbfee18673328225b66
Gerrit-Change-Number: 11764
Gerrit-PatchSet: 1
Gerrit-Owner: Max <msuraev at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181113/74f41552/attachment.htm>


More information about the gerrit-log mailing list