aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2015-12-25 10:32:37 +0100
committerHarald Welte <laforge@gnumonks.org>2015-12-25 10:32:37 +0100
commit2963ee2505393514a12ff5cf3ed73c5e92f3dafc (patch)
tree9042be3e4b6f1c3e2c57a57a183e849a8a0f22b0
parent831e1ee8f41883f81ff1307360fb5a27d615dfc2 (diff)
hnbgw_hnbap: Print HNBAP Cause during UE De-Register
-rw-r--r--src/hnbgw_hnbap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hnbgw_hnbap.c b/src/hnbgw_hnbap.c
index f797992..ed10df7 100644
--- a/src/hnbgw_hnbap.c
+++ b/src/hnbgw_hnbap.c
@@ -190,8 +190,8 @@ static int hnbgw_rx_ue_deregister(struct hnb_context *ctx, ANY_t *in)
ctxid = asn1bitstr_to_u24(&ies.context_ID);
- DEBUGP(DHNBAP, "UE-DE-REGSITER context=%ld cause=%ld\n",
- ctxid, ies.cause);
+ DEBUGP(DHNBAP, "UE-DE-REGSITER context=%ld cause=%s\n",
+ ctxid, hnbap_cause_str(&ies.cause));
ue = ue_context_by_id(ctx->gw, ctxid);
if (ue)