summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJan Luebbe <jluebbe@debian.org>2017-12-27 18:34:03 +0100
committerthe 34c3 gsm team <34c3-gsm@congress>2017-12-27 18:47:20 +0100
commit367a3e42a841cf538863ca0a0cf9593d3b49218e (patch)
treeb18ec097655c9ea726dae5243b6a4b4c58e2d7ec /src
parent1a0ee41c508e959318a05dabd97de721cc475451 (diff)
mncc: fix log messages
The callref refers to a leg (not a call).
Diffstat (limited to 'src')
-rw-r--r--src/mncc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mncc.c b/src/mncc.c
index 75f2c31..fe6561e 100644
--- a/src/mncc.c
+++ b/src/mncc.c
@@ -439,7 +439,7 @@ static void check_rtp_create(struct mncc_connection *conn, char *buf, int rc)
rtp = (struct gsm_mncc_rtp *) buf;
leg = mncc_find_leg(rtp->callref);
if (!leg) {
- LOGP(DMNCC, LOGL_ERROR, "call(%u) can not be found\n", rtp->callref);
+ LOGP(DMNCC, LOGL_ERROR, "leg(%u) can not be found\n", rtp->callref);
return mncc_send(conn, MNCC_REJ_REQ, rtp->callref);
}
@@ -578,7 +578,7 @@ static struct mncc_call_leg *find_leg(struct mncc_connection *conn,
*mncc = (struct gsm_mncc *) buf;
leg = mncc_find_leg((*mncc)->callref);
if (!leg) {
- LOGP(DMNCC, LOGL_ERROR, "call(%u) can not be found\n", (*mncc)->callref);
+ LOGP(DMNCC, LOGL_ERROR, "leg(%u) can not be found\n", (*mncc)->callref);
return NULL;
}