aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2015-12-25 10:28:55 +0100
committerHarald Welte <laforge@gnumonks.org>2015-12-25 10:28:55 +0100
commit831e1ee8f41883f81ff1307360fb5a27d615dfc2 (patch)
tree3267bf4c2e5a6c5578e5ed7fd99ebafbeb591f86
parent23058e114497355475e6645a16c723bb0829a45b (diff)
hnbgw_rua.c: Print RUA cause in error indication
-rw-r--r--src/hnbgw_rua.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hnbgw_rua.c b/src/hnbgw_rua.c
index c10a9a1..ed43330 100644
--- a/src/hnbgw_rua.c
+++ b/src/hnbgw_rua.c
@@ -414,7 +414,8 @@ static int rua_rx_init_err_ind(struct msgb *msg, ANY_t *in)
if (rc < 0)
return rc;
- DEBUGP(DRUA, "RUA UData.ErrorInd()\n");
+ LOGP(DRUA, LOGL_ERROR, "RUA UData.ErrorInd(%s)\n",
+ rua_cause_str(&ies.cause));
return rc;
}