diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-11-23 23:35:01 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-11-24 11:09:21 +0100 |
commit | c0de14da8f868de3a68b485ec382d8aa7dabbec9 (patch) | |
tree | 396eba9b382b7b3c88f3c1b3b6c52e472bfe647e /openbsc/include/openbsc/gsm_data.h | |
parent | e07b6a77e51f19b45d3ca0a7b3b4014ffeb40859 (diff) |
SMPP: add small utility program 'smpp_mirror'
This program binds as ESME transceiver to a SMSC and simply mirrors back
all SMS that it receives.
Diffstat (limited to 'openbsc/include/openbsc/gsm_data.h')
-rw-r--r-- | openbsc/include/openbsc/gsm_data.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h index 3b0f248b2..ea9f601ea 100644 --- a/openbsc/include/openbsc/gsm_data.h +++ b/openbsc/include/openbsc/gsm_data.h @@ -293,7 +293,7 @@ struct gsm_sms { unsigned long long id; struct gsm_subscriber *sender; struct gsm_subscriber *receiver; - struct gsm_sms_addr destination; + struct gsm_sms_addr src, dst; enum gsm_sms_source_id source; struct { @@ -310,8 +310,6 @@ struct gsm_sms { uint8_t protocol_id; uint8_t data_coding_scheme; uint8_t msg_ref; - char dest_addr[20+1]; /* DA LV is 12 bytes max, i.e. 10 bytes - * BCD == 20 bytes string */ uint8_t user_data_len; uint8_t user_data[SMS_TEXT_SIZE]; |