SMS-over-GSUP: clarify error message about unexpected MO/MT SMS
Change-Id: I34b25764f9ce9b09ccd28cf23fea01028d0828e0
diff --git a/src/libmsc/gsm_04_11_gsup.c b/src/libmsc/gsm_04_11_gsup.c
index b6b798f..dfc90cc 100644
--- a/src/libmsc/gsm_04_11_gsup.c
+++ b/src/libmsc/gsm_04_11_gsup.c
@@ -152,8 +152,8 @@
/* 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 @@
/* 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;
}