aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2023-02-25 23:22:41 +0300
committermsuraev <msuraev@sysmocom.de>2023-03-04 11:18:42 +0000
commit633c09ee50347fa0ffeb44d7d3a3af5ad682e17d (patch)
tree22a150e6efb909bdbe4a9b4bc82e99242ef321a7
parentdfe96b786f20cfb0913d05cd7b917f3258ba1c20 (diff)
osmo-bts-trx: log TRXC/TRXD connection address
-rw-r--r--src/osmo-bts-trx/trx_if.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/osmo-bts-trx/trx_if.c b/src/osmo-bts-trx/trx_if.c
index bb9404c8..34460182 100644
--- a/src/osmo-bts-trx/trx_if.c
+++ b/src/osmo-bts-trx/trx_if.c
@@ -1232,7 +1232,8 @@ void trx_if_flush(struct trx_l1h *l1h)
/*! 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 @@ static int trx_if_open(struct trx_l1h *l1h)
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,