aboutsummaryrefslogtreecommitdiffstats
path: root/gtp/pdp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtp/pdp.c')
-rw-r--r--gtp/pdp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gtp/pdp.c b/gtp/pdp.c
index 518f5d4..2be2dd3 100644
--- a/gtp/pdp.c
+++ b/gtp/pdp.c
@@ -338,9 +338,7 @@ int pdp_getimsi(struct pdp_t **pdp, uint64_t imsi, uint8_t nsapi)
int gtp_pdp_getimsi(struct gsn_t *gsn, struct pdp_t **pdp, uint64_t imsi, uint8_t nsapi)
{
- return gtp_pdp_tidget(gsn, pdp,
- (imsi & 0x0fffffffffffffffull) +
- ((uint64_t) nsapi << 60));
+ return gtp_pdp_tidget(gsn, pdp, pdp_gettid(imsi, nsapi));
}