aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/ipaccess.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2011-06-26 19:10:56 +0200
committerPablo Neira Ayuso <pablo@gnumonks.org>2011-06-26 19:10:56 +0200
commitff66363716e5776fa7b9e8a4f3d1a1e6d171ee23 (patch)
tree8e7faaadbf9a317f51b4b4ef3d96400b69ea5f52 /src/input/ipaccess.c
parent96e7263c85f526f790b4688dfad90247de5a8fac (diff)
ipaccess: add msg->trx to reduce the size of the openbsc-port patch
This is a temporary change to keep the openbsc port over libosmo-abis smaller. We'll remove it at some point once we fully transition to the new msg->dst routing attribute.
Diffstat (limited to 'src/input/ipaccess.c')
-rw-r--r--src/input/ipaccess.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input/ipaccess.c b/src/input/ipaccess.c
index 22d5cd1..d1ada94 100644
--- a/src/input/ipaccess.c
+++ b/src/input/ipaccess.c
@@ -194,6 +194,7 @@ static int handle_ts1_read(struct osmo_fd *bfd)
return -EIO;
}
msg->dst = link;
+ msg->trx = link->trx;
/* XXX better use e1inp_ts_rx? */
if (!e1i_ts->line->ops->sign_link) {
@@ -434,6 +435,7 @@ static int ipaccess_bts_cb(struct ipa_client_link *link, struct msgb *msg)
return -EIO;
}
msg->dst = sign_link;
+ msg->trx = sign_link->trx;
/* XXX better use e1inp_ts_rx? */
if (!link->line->ops->sign_link) {