aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKeith <keith@rhizomatica.org>2017-08-16 22:45:07 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-08-27 17:40:56 +0200
commit5742ab8aab16dd87551aba3e0a489b098c57025d (patch)
tree28387e52cf1ae98ee53ea624764eddd3053fe6b9 /include
parenta441e9d60b33122caff72f469393b991e17d090f (diff)
libmsc: Use actual delivery time in delivery reports.
Set the time on the status report to the time the message was delivered, as this may not be the same as the time when we are delivering the report to the originating MS. Change-Id: I9056429d40bf02731f004b7833f1de45a0d1add8
Diffstat (limited to 'include')
-rw-r--r--include/openbsc/gsm_data.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openbsc/gsm_data.h b/include/openbsc/gsm_data.h
index 51cf6dcd4..f4de38105 100644
--- a/include/openbsc/gsm_data.h
+++ b/include/openbsc/gsm_data.h
@@ -511,6 +511,7 @@ struct gsm_sms {
} smpp;
unsigned long validity_minutes;
+ time_t created;
bool is_report;
uint8_t reply_path_req;
uint8_t status_rep_req;