aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-09-22 19:37:29 +0200
committerHarald Welte <laforge@gnumonks.org>2016-09-27 05:55:55 +0000
commit0476e2854e89f6d30f3a7713e000657087e0fcaa (patch)
tree03eb4c68f22e8979965b839b27ffb754e95be177
parent12181a937ff5658af49e12c57cb08ecba859e1f1 (diff)
log: hnbgw: add hnbap UE context allocation info log
-rw-r--r--src/hnbgw.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hnbgw.c b/src/hnbgw.c
index c326b12..bd0b3ba 100644
--- a/src/hnbgw.c
+++ b/src/hnbgw.c
@@ -161,6 +161,9 @@ struct ue_context *ue_context_alloc(struct hnb_context *hnb, const char *imsi,
ue->context_id = get_next_ue_ctx_id(hnb->gw);
llist_add_tail(&ue->list, &hnb->gw->ue_list);
+ LOGP(DHNBAP, LOGL_INFO, "created UE context: id 0x%x, imsi %s, tmsi 0x%x\n",
+ ue->context_id, imsi? imsi : "-", tmsi);
+
return ue;
}