diff options
author | Keith <keith@rhizomatica.org> | 2020-10-10 15:19:59 +0200 |
---|---|---|
committer | Keith <keith@rhizomatica.org> | 2020-10-12 13:11:26 +0200 |
commit | 4831851ca32c0ff8c54200843b178b5249b01dc0 (patch) | |
tree | 1bc393e07e991f92c2502bf97893171b6b54a4e8 /gtp/pdp.c | |
parent | 080dcfaabef67880d64ae8e9bf36b52bb95e7bfc (diff) |
Minor: remove code duplication
Change-Id: Id18ebcd3b3c20ce28e383edf9354e9f8516e1e81
Diffstat (limited to 'gtp/pdp.c')
-rw-r--r-- | gtp/pdp.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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)); } |