aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2015-08-16 17:16:28 +0200
committerHarald Welte <laforge@gnumonks.org>2015-08-18 19:35:02 +0200
commit601cf12f814cd74c3fcc939839f07aa9ccde7aff (patch)
tree33a8ac5cfbcf8352790f3986be59f348dc706bf3
parenteb98c74fb1c485e5793d6648c9e69cc50cf27758 (diff)
GMM: Don't use DGPRS logging category from GMM
-rw-r--r--openbsc/src/gprs/gprs_gmm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/gprs/gprs_gmm.c b/openbsc/src/gprs/gprs_gmm.c
index 3fb12c55c..89e207a1a 100644
--- a/openbsc/src/gprs/gprs_gmm.c
+++ b/openbsc/src/gprs/gprs_gmm.c
@@ -1664,7 +1664,7 @@ static void ggsn_lookup_cb(void *arg, int status, int timeouts, struct hostent *
rc = sgsn_ares_query(sgsn, hostname,
ggsn_lookup_cb, lookup);
if (rc != 0) {
- LOGP(DGPRS, LOGL_ERROR, "Couldn't start GGSN\n");
+ LOGMMCTXP(LOGL_ERROR, mmctx, "Couldn't start GGSN\n");
goto reject_due_failure;
}
return;
@@ -1866,7 +1866,7 @@ static int do_act_pdp_req(struct sgsn_mm_ctx *mmctx, struct msgb *msg)
return 0;
no_context:
- LOGP(DGPRS, LOGL_ERROR, "No GGSN context found!\n");
+ LOGMMCTXP(LOGL_ERROR, mmctx, "No GGSN context found!\n");
return gsm48_tx_gsm_act_pdp_rej(mmctx, transaction_id,
gsm_cause, 0, NULL);
}