diff options
author | Harald Welte <laforge@gnumonks.org> | 2015-12-23 15:36:31 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2015-12-23 15:37:17 +0100 |
commit | f42317ba9caa170fb7f1ae1145c40ecc0af46e4f (patch) | |
tree | ac4079d93ab9e54e26fee6a21fe92ce84d21554f /src/hnbgw_ranap.c | |
parent | f6d0138d76d12e1842524c15eea2c16f3cd37bf3 (diff) |
Introduce DRANAP/DRUA log categories to separate logging
Diffstat (limited to 'src/hnbgw_ranap.c')
-rw-r--r-- | src/hnbgw_ranap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/hnbgw_ranap.c b/src/hnbgw_ranap.c index 9cad6ae..c0b968f 100644 --- a/src/hnbgw_ranap.c +++ b/src/hnbgw_ranap.c @@ -49,7 +49,7 @@ static int ranap_tx_reset_ack(struct hnb_context *hnb, memset(&out, 0, sizeof(out)); rc = ranap_encode_resetacknowledgeies(&out, &ies); if (rc < 0) { - LOGP(DMAIN, LOGL_ERROR, "error encoding reset ack IEs: %d\n", rc); + LOGP(DRANAP, LOGL_ERROR, "error encoding reset ack IEs: %d\n", rc); return rc; } @@ -76,7 +76,7 @@ static int ranap_rx_init_reset(struct hnb_context *hnb, ANY_t *in) if (rc < 0) return rc; - DEBUGP(DMAIN, "RESET.req\n"); + DEBUGP(DRANAP, "RESET.req\n"); /* FIXME: Actually we have to wait for some guard time? */ /* FIXME: Reset all resources related to this HNB/RNC */ @@ -151,7 +151,7 @@ static int ranap_rx_dt(struct hnb_context *hnb, ANY_t *in) /* FIXME: Update RAC associated with UE */ } - DEBUGP(DMAIN, "DirectTransfer: %s\n", + DEBUGP(DRANAP, "DirectTransfer: %s\n", osmo_hexdump(ies.nas_pdu.buf, ies.nas_pdu.size)); /* FIXME: hand NAS PDU into MSC */ } @@ -201,7 +201,7 @@ int hnbgw_ranap_rx(struct msgb *msg, uint8_t *data, size_t len) dec_ret = aper_decode(NULL,&asn_DEF_RANAP_RANAP_PDU, (void **) &pdu, data, len, 0, 0); if (dec_ret.code != RC_OK) { - LOGP(DMAIN, LOGL_ERROR, "Error in RANAP ASN.1 decode\n"); + LOGP(DRANAP, LOGL_ERROR, "Error in RANAP ASN.1 decode\n"); return rc; } |