Use DLMGCP instead of DLGLOBAL in log lines

Change-Id: I95e11e8b1803153315750840ecec01402becf819
This commit is contained in:
Pau Espin 2021-07-08 18:13:46 +02:00
parent b066bd0c86
commit 6a5e5ac2d4
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@
#define LOG_CI(ci, level, fmt, args...) do { \
if (!ci || !ci->ep) \
LOGP(DLGLOBAL, level, "(unknown MGW endpoint) " fmt, ## args); \
LOGP(DLMGCP, level, "(unknown MGW endpoint) " fmt, ## args); \
else \
LOG_MGCPC_EP(ci->ep, level, "CI[%d] %s%s%s: " fmt, \
(int)(ci - ci->ep->ci), \
@ -616,7 +616,7 @@ void osmo_mgcpc_ep_ci_request(struct osmo_mgcpc_ep_ci *ci,
ci = osmo_mgcpc_ep_check_ci(ci);
if (!ci) {
LOGP(DLGLOBAL, LOGL_ERROR, "Invalid MGW endpoint request: no ci\n");
LOGP(DLMGCP, LOGL_ERROR, "Invalid MGW endpoint request: no ci\n");
goto dispatch_error;
}
if (!verb_info && verb != MGCP_VERB_DLCX) {