diff options
author | Harald Welte <laforge@gnumonks.org> | 2015-12-29 19:00:35 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2015-12-29 19:00:35 +0100 |
commit | 49287978072f3f777e3954f20e9775c28aee0b8e (patch) | |
tree | b2015e18fc9f2ef787e1b6aadb5472423e5cc1bc /src/context_map.c | |
parent | 7bccc98cf88ef304646a523764d102630e3d9a93 (diff) |
more verbose logging in various places
Diffstat (limited to 'src/context_map.c')
-rw-r--r-- | src/context_map.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/context_map.c b/src/context_map.c index cd6cd81..7cfc7e6 100644 --- a/src/context_map.c +++ b/src/context_map.c @@ -76,6 +76,9 @@ context_map_alloc_by_hnb(struct hnb_context *hnb, uint32_t rua_ctx_id, return NULL; } + LOGP(DMAIN, LOGL_INFO, "Creating new Mapping RUA CTX %p/%u <-> SCU Conn ID %p/%u\n", + hnb, rua_ctx_id, cn_if_new, new_scu_conn_id); + /* alloate a new map entry */ map = talloc_zero(hnb, struct hnbgw_context_map); map->state = MAP_S_NULL; @@ -109,7 +112,7 @@ context_map_by_cn(struct hnbgw_cnlink *cn, uint32_t scu_conn_id) * direction, as the RUA=SCCP=SUA connections are always * established from HNB towards CN. */ LOGP(DMAIN, LOGL_NOTICE, "Unable to resolve map for CN " - "connection ID %u\n", scu_conn_id); + "connection ID %p/%u\n", cn, scu_conn_id); return NULL; } |