aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libmsc/smpp_smsc.c
diff options
context:
space:
mode:
authorKeith <keith@rhizomatica.org>2019-01-17 00:26:27 +0000
committerKeith Whyte <keith@rhizomatica.org>2019-02-28 15:15:58 +0000
commitf706b39eb6132c18e28808807cde1ead83437e77 (patch)
tree4b4b5e870bcff3453b0fcaa273f98ee2ece4c08c /openbsc/src/libmsc/smpp_smsc.c
parented8815e723b41e9800f14c67bccd34e51a06beb6 (diff)
Don't deliver alert notifications to an ESME that
is not yet bound. We create a new ESME in smsc->esme_list on establishment of a TCP connection, yet we do not know the system id or anything else, until the ESME identifies and authenticates. So do not send alert notifications until we know the bind status (and system_id) Change-Id: I0e5d55d3fb6ac46d253902df2fe304e1b0fc8bbf
Diffstat (limited to 'openbsc/src/libmsc/smpp_smsc.c')
-rw-r--r--openbsc/src/libmsc/smpp_smsc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/openbsc/src/libmsc/smpp_smsc.c b/openbsc/src/libmsc/smpp_smsc.c
index 35097b40d..1cee3fe81 100644
--- a/openbsc/src/libmsc/smpp_smsc.c
+++ b/openbsc/src/libmsc/smpp_smsc.c
@@ -49,11 +49,6 @@
memset(str, 0, sizeof(*str)); \
rc = smpp34_unpack(type, str, data, len)
-enum emse_bind {
- ESME_BIND_RX = 0x01,
- ESME_BIND_TX = 0x02,
-};
-
const struct value_string smpp_status_strs[] = {
{ ESME_ROK, "No Error" },
{ ESME_RINVMSGLEN, "Message Length is invalid" },