msuraev submitted this change.
osmo-bts-trx: log TRXC/TRXD connection address
Change-Id: Id53c1dd58b95c45f261fa9bfae16cc53b20edd18
---
M src/osmo-bts-trx/trx_if.c
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/src/osmo-bts-trx/trx_if.c b/src/osmo-bts-trx/trx_if.c
index bb9404c..3446018 100644
--- a/src/osmo-bts-trx/trx_if.c
+++ b/src/osmo-bts-trx/trx_if.c
@@ -1232,7 +1232,8 @@
/*! close the TRX for given handle (data + control socket) */
void trx_if_close(struct trx_l1h *l1h)
{
- LOGPPHI(l1h->phy_inst, DTRX, LOGL_NOTICE, "Closing TRXC/TRXD connections\n");
+ LOGPPHI(l1h->phy_inst, DTRX, LOGL_NOTICE, "Closing TRXC/TRXD connections to %s\n",
+ l1h->phy_inst->phy_link->u.osmotrx.remote_ip);
trx_if_flush(l1h);
@@ -1263,7 +1264,7 @@
struct phy_link *plink = pinst->phy_link;
int rc;
- LOGPPHI(pinst, DTRX, LOGL_NOTICE, "Opening TRXC/TRXD connections\n");
+ LOGPPHI(pinst, DTRX, LOGL_NOTICE, "Opening TRXC/TRXD connections to %s\n", plink->u.osmotrx.remote_ip);
/* open sockets */
rc = trx_udp_open(l1h, &l1h->trx_ofd_ctrl,
To view, visit change 31530. To unsubscribe, or for help writing mail filters, visit settings.