commit | 1a4121882e6d8eb4e81633138d739a5fe7028d54 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Sat Dec 27 22:13:43 2008 +0000 |
committer | Harald Welte <laforge@gnumonks.org> | Sat Dec 27 22:13:43 2008 +0000 |
tree | ce15ccc99d0794ef794077140065b4141d620cf4 | |
parent | a6eb9f0213555fdbc37e56ab13c2e3cd276caa8d [diff] |
fix TMSI length in Mobile Identity IE of LOCATION UPDATE ACCEPT
diff --git a/src/gsm_04_08.c b/src/gsm_04_08.c index 6a797b7..c45e754 100644 --- a/src/gsm_04_08.c +++ b/src/gsm_04_08.c
@@ -102,7 +102,7 @@ static void generate_mid_from_tmsi(u_int8_t *buf, u_int32_t tmsi) { buf[0] = GSM48_IE_MOBILE_ID; - buf[1] = MID_TMSI_LEN; + buf[1] = TMSI_LEN; buf[2] = 0xf0 | GSM_MI_TYPE_TMSI; *((u_int32_t *) &buf[3]) = htonl(tmsi); }