Change in libosmo-abis[master]: ipacces: Log correct trx_nr during IPA GET

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

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Tue Oct 2 18:06:59 UTC 2018


Pau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/11202


Change subject: ipacces: Log correct trx_nr during IPA GET
......................................................................

ipacces: Log correct trx_nr during IPA GET

dev->trx_id points to a structure used for whole BTS and doesn't point
to related TRX ID, which is encoded in priv_nr.

Change-Id: I00b01790990c8d21fdbe0f5750fa02f13ddb2009
---
M src/input/ipaccess.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/02/11202/1

diff --git a/src/input/ipaccess.c b/src/input/ipaccess.c
index 566fd64..f8e8e09 100644
--- a/src/input/ipaccess.c
+++ b/src/input/ipaccess.c
@@ -690,7 +690,7 @@
 				trx_nr = link->ofd->priv_nr - E1INP_SIGN_RSL;
 
 			LOGP(DLINP, LOGL_NOTICE, "received ID get from %u/%u/%u\n",
-			     dev->site_id, dev->bts_id, dev->trx_id);
+			     dev->site_id, dev->bts_id, trx_nr);
 			rmsg = ipa_bts_id_resp(dev, data + 1, len - 1, trx_nr);
 			ret = ipa_send(link->ofd->fd, rmsg->data, rmsg->len);
 			if (ret != rmsg->len) {

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

Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I00b01790990c8d21fdbe0f5750fa02f13ddb2009
Gerrit-Change-Number: 11202
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181002/bac6c968/attachment.htm>


More information about the gerrit-log mailing list