aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2017-08-07 14:01:18 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2017-08-27 03:52:46 +0200
commitc44d70aebfb984c43d22f3eaaf65c4f2ce3a1001 (patch)
treec9ef80bc9e43d8ee6835015db2672f28c5054818
parent896abeedd55dc06533001c78c82f539d7b59deb7 (diff)
libmsc: report status report request flag from SMPP SUBMIT_SM
Restore the sms status report request flag from SUBMIT_SM. Change-Id: Iac05252253f8933a3875b4904599b7a225191a4b
-rw-r--r--src/libmsc/smpp_openbsc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libmsc/smpp_openbsc.c b/src/libmsc/smpp_openbsc.c
index 8a1a7dabf..5de13687a 100644
--- a/src/libmsc/smpp_openbsc.c
+++ b/src/libmsc/smpp_openbsc.c
@@ -130,6 +130,7 @@ static int submit_to_sms(struct gsm_sms **psms, struct gsm_network *net,
sms = sms_alloc();
sms->source = SMS_SOURCE_SMPP;
sms->smpp.sequence_nr = submit->sequence_number;
+ sms->status_rep_req = submit->registered_delivery;
/* fill in the destination address */
sms->receiver = dest;