libmsc: report status report request flag from SMPP SUBMIT_SM

Restore the sms status report request flag from SUBMIT_SM.

Change-Id: Iac05252253f8933a3875b4904599b7a225191a4b
This commit is contained in:
Pablo Neira Ayuso 2017-08-07 14:01:18 +01:00 committed by Neels Hofmeyr
parent 6ceac7c017
commit 791bdf70f2
1 changed files with 1 additions and 0 deletions

View File

@ -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;