diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-24 22:06:01 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-24 22:06:01 +0800 |
commit | e2c1a6a33d4682f8de107f59a3ed2b5828b5ee8b (patch) | |
tree | da0182237388910fd5483cf3809a3e9196080467 | |
parent | 9626783494726f4b3886a956923c0d14de6069a9 (diff) |
abis_nm.c: Use LOGPC with a LOGL_ERROR for the NACK messages
Make NACK messages print as errors.
-rw-r--r-- | openbsc/src/abis_nm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/src/abis_nm.c b/openbsc/src/abis_nm.c index c07d516cf..ba8b15ec6 100644 --- a/openbsc/src/abis_nm.c +++ b/openbsc/src/abis_nm.c @@ -1009,14 +1009,14 @@ static int abis_nm_rcvmsg_fom(struct msgb *mb) debugp_foh(foh); - DEBUGPC(DNM, "%s NACK ", get_value_string(nack_names, mt)); + LOGPC(DNM, LOGL_ERROR, "%s NACK ", get_value_string(nack_names, mt)); abis_nm_tlv_parse(&tp, mb->trx->bts, foh->data, oh->length-sizeof(*foh)); if (TLVP_PRESENT(&tp, NM_ATT_NACK_CAUSES)) - DEBUGPC(DNM, "CAUSE=%s\n", + LOGPC(DNM, LOGL_ERROR, "CAUSE=%s\n", nack_cause_name(*TLVP_VAL(&tp, NM_ATT_NACK_CAUSES))); else - DEBUGPC(DNM, "\n"); + LOGPC(DNM, LOGL_ERROR, "\n"); dispatch_signal(SS_NM, S_NM_NACK, (void*) &mt); abis_nm_queue_send_next(mb->trx->bts); |