mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
libmsc: Don't use bts field of gsm_subscriber_connection
Use gsm_subscriber_connection does not have a bts field if building as libmsc. Use network directly.
This commit is contained in:
committed by
Neels Hofmeyr
parent
b9bb2a4f54
commit
2a7426d7cb
@@ -315,7 +315,7 @@ try_local:
|
||||
rc = smpp_try_deliver(gsms, conn);
|
||||
if (rc == 1) {
|
||||
rc = 1; /* cause 1: unknown subscriber */
|
||||
osmo_counter_inc(conn->bts->network->stats.sms.no_receiver);
|
||||
osmo_counter_inc(conn->network->stats.sms.no_receiver);
|
||||
} else if (rc < 0) {
|
||||
rc = 21; /* cause 21: short message transfer rejected */
|
||||
/* FIXME: handle the error somehow? */
|
||||
|
Reference in New Issue
Block a user