aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2020-03-26 01:44:37 +0700
committerpespin <pespin@sysmocom.de>2020-03-27 14:55:22 +0000
commitf497412f2001fa8aab45c0d73333fda682eba1cd (patch)
tree25ab4d879e4eddc6fb52c863a260a111cc7c2e89
parent2b6acd88732e5a3273d9f3ce84a76ebe035a4fd8 (diff)
BSSGP: cosmetic use OSMO_IMSI_BUF_SIZE from libosmocore
-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 0be3b3d..efddc03 100644
--- a/src/gprs_bssgp_pcu.cpp
+++ b/src/gprs_bssgp_pcu.cpp
@@ -188,7 +188,7 @@ static int gprs_bssgp_pcu_rx_paging_cs(struct msgb *msg, struct tlv_parsed *tp)
static int gprs_bssgp_pcu_rx_paging_ps(struct msgb *msg, struct tlv_parsed *tp)
{
- char imsi[16];
+ char imsi[OSMO_IMSI_BUF_SIZE];
uint16_t pgroup;
const uint8_t *mi;
uint8_t mi_len;