aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-07-24 18:31:19 +0700
committerfixeria <axilirator@gmail.com>2019-07-24 20:39:57 +0000
commit2c076bcb4dc1bc2ada340441c2f898c55318209f (patch)
treeb7671a802d42b0316394a58dde26b18f8554ced6
parent6170ac041ffafe6fa75cab62a36bf34669113832 (diff)
gprs_bssgp_pcu_rx_dl_ud(): use OSMO_IMSI_BUF_SIZE
-rw-r--r--src/gprs_bssgp_pcu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gprs_bssgp_pcu.cpp b/src/gprs_bssgp_pcu.cpp
index f7c681c..ddf5174 100644
--- a/src/gprs_bssgp_pcu.cpp
+++ b/src/gprs_bssgp_pcu.cpp
@@ -91,7 +91,7 @@ static int gprs_bssgp_pcu_rx_dl_ud(struct msgb *msg, struct tlv_parsed *tp)
uint32_t tlli_old = 0;
uint8_t *data;
uint16_t len;
- char imsi[16] = "000";
+ char imsi[OSMO_IMSI_BUF_SIZE] = "000";
uint8_t ms_class = 0;
uint8_t egprs_ms_class = 0;
int rc;