diff options
author | Harald Welte <laforge@gnumonks.org> | 2016-05-01 13:36:48 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-05-01 15:35:58 +0200 |
commit | db916bfd8dcceaeb0414ea0628e99a8e7955e660 (patch) | |
tree | 2da74fb26ccca6cc05de58f82e541420e87ba676 /openbsc | |
parent | a54358879f1ab928659568ebd6547fc65265f662 (diff) |
iu_rab_act_ps: Use GGSN-side TEI in RAB Assignment Requeset
When we send the RAB Assignment Request to the RNC, we need
to tell it the GGSN-side TEI for data, not "our" (SGSN side)
TEID.
In the RAB-Assignment.req we inform the RNC of the TEID on the GGSN
side, and in the RAB-Assignment.resp the RNC informs us of the TEID
on the RNC side.
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/libiu/iu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/src/libiu/iu.c b/openbsc/src/libiu/iu.c index 7d1de0702..757b2ca79 100644 --- a/openbsc/src/libiu/iu.c +++ b/openbsc/src/libiu/iu.c @@ -209,11 +209,11 @@ int iu_rab_act_ps(uint8_t rab_id, struct sgsn_pdp_ctx *pdp, bool use_x213_nsap) ggsn_ip = htonl(ggsn_ip); LOGP(DRANAP, LOGL_DEBUG, "Assigning RAB: rab_id=%d, ggsn_ip=%x," - " teid_own=%x, use_x213_nsap=%d\n", - rab_id, ggsn_ip, pdp->lib->teid_own, use_x213_nsap); + " teid_gn=%x, use_x213_nsap=%d\n", + rab_id, ggsn_ip, pdp->lib->teid_gn, use_x213_nsap); msg = ranap_new_msg_rab_assign_data(rab_id, ggsn_ip, - pdp->lib->teid_own, use_x213_nsap); + pdp->lib->teid_gn, use_x213_nsap); msg->l2h = msg->data; return iu_rab_act(uectx, msg); } |