msuraev has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/31530 )

Change subject: osmo-bts-trx: log TRXC/TRXD connection address
......................................................................

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(-)

Approvals:
  fixeria: Looks good to me, but someone else must approve
  pespin: Looks good to me, but someone else must approve
  msuraev: Looks good to me, approved
  Jenkins Builder: Verified




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 https://gerrit.osmocom.org/c/osmo-bts/+/31530
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Id53c1dd58b95c45f261fa9bfae16cc53b20edd18
Gerrit-Change-Number: 31530
Gerrit-PatchSet: 2
Gerrit-Owner: msuraev <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: msuraev <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to