SMS-over-GSUP: clarify error message about unexpected MO/MT SMS

Change-Id: I34b25764f9ce9b09ccd28cf23fea01028d0828e0
changes/70/17870/2
Vadim Yanitskiy 3 years ago committed by laforge
parent 61ec0295fc
commit 46b0f80e69
  1. 8
      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;
}

Loading…
Cancel
Save