aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2020-04-20 10:04:12 +0700
committerlaforge <laforge@osmocom.org>2020-04-26 14:45:29 +0000
commit46b0f80e69c79d52d08062137519b68c14852cc0 (patch)
treecafcc72e397aed6b41642e387bfca032b822c93d
parent61ec0295fc903df3a1a6b723f301a84428cb2e4f (diff)
SMS-over-GSUP: clarify error message about unexpected MO/MT SMS
-rw-r--r--src/libmsc/gsm_04_11_gsup.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libmsc/gsm_04_11_gsup.c b/src/libmsc/gsm_04_11_gsup.c
index b6b798f87..dfc90cc12 100644
--- a/src/libmsc/gsm_04_11_gsup.c
+++ b/src/libmsc/gsm_04_11_gsup.c
@@ -152,8 +152,8 @@ static int gsm411_gsup_mo_handler(struct gsm_network *net, struct vlr_subscr *vs
/* Make sure that 'SMS over GSUP' is expected */
if (!net->sms_over_gsup) {
/* TODO: notify sender about that? */
- LOGP(DLSMS, LOGL_NOTICE, "Unexpected MO SMS over GSUP, "
- "ignoring message...\n");
+ LOGP(DLSMS, LOGL_NOTICE, "Unexpected MO SMS over GSUP "
+ "(sms-over-gsup is not enabled), ignoring message...\n");
return -EIO;
}
@@ -243,8 +243,8 @@ static int gsm411_gsup_mt_handler(struct gsm_network *net, struct vlr_subscr *vs
/* Make sure that 'SMS over GSUP' is expected */
if (!net->sms_over_gsup) {
- LOGP(DLSMS, LOGL_NOTICE, "Unexpected MT SMS over GSUP, "
- "ignoring message...\n");
+ LOGP(DLSMS, LOGL_NOTICE, "Unexpected MT SMS over GSUP "
+ "(sms-over-gsup is not enabled), ignoring message...\n");
/* TODO: notify sender about that? */
return -EIO;
}