libmsc: add missing count of sms no receiver when using smpp_first
Change-Id: I20ecb3299d67dbaa7b016620685997db49970ffb
This commit is contained in:
parent
20423ea6cf
commit
7130683ffe
|
@ -309,8 +309,10 @@ try_local:
|
|||
if (!gsms->receiver) {
|
||||
#ifdef BUILD_SMPP
|
||||
/* Avoid a second look-up */
|
||||
if (smpp_first)
|
||||
if (smpp_first) {
|
||||
rate_ctr_inc(&conn->bts->network->ratectrs->ctr[MSC_CTR_SMS_NO_RECEIVER]);
|
||||
return 1; /* cause 1: unknown subscriber */
|
||||
}
|
||||
|
||||
rc = smpp_try_deliver(gsms, conn);
|
||||
if (rc == 1) {
|
||||
|
|
Loading…
Reference in New Issue