diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-10-02 20:05:28 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-10-02 20:05:33 +0200 |
commit | dd95eb64800945a564d45ccb8d74fcca6daf568e (patch) | |
tree | 2049f3fa8bf8a378ac51f2e1ffa45f6f689dd11c | |
parent | 0d7d0b0a861c1abeb6a4852c914bc0a483dc9744 (diff) |
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
-rw-r--r-- | src/input/ipaccess.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ int ipaccess_bts_handle_ccm(struct ipa_client_conn *link, 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) { |