summaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-04-25 15:39:57 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-04-25 19:24:30 +0200
commitdc4b14b269d4648f44c2208a5de1b98c1f26a11c (patch)
treeadc67f728146d5495bf3068738109467c780ecb2 /openbsc
parent687270de3ab5f993c17d8447ace4d8d569145ee3 (diff)
RAB: add debug log for PS RAB assignment
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/libiu/iu.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/src/libiu/iu.c b/openbsc/src/libiu/iu.c
index 86de1f3bf..61f2683b9 100644
--- a/openbsc/src/libiu/iu.c
+++ b/openbsc/src/libiu/iu.c
@@ -208,6 +208,10 @@ int iu_rab_act_ps(uint8_t rab_id, struct sgsn_pdp_ctx *pdp, bool use_x213_nsap)
memcpy(&ggsn_ip, pdp->lib->gsnru.v, pdp->lib->gsnru.l);
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);
+
msg = ranap_new_msg_rab_assign_data(rab_id, ggsn_ip,
pdp->lib->teid_own, use_x213_nsap);
msg->l2h = msg->data;