aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-05-31 17:02:31 +0200
committerlaforge <laforge@gnumonks.org>2019-06-06 15:30:47 +0000
commitf7afd202000ccc7f59e059e3f5581507e3672af7 (patch)
tree412a36338c8b2c7c4202c350b5e5ee9b70a9bd64
parent812a8bd18f21d5772e237ea5ff3c57acde4579ff (diff)
sgsn_libgtp: Use new per-GSN libgtp API instead of deprecated API
-rw-r--r--src/gprs/sgsn_libgtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gprs/sgsn_libgtp.c b/src/gprs/sgsn_libgtp.c
index a8a1502..e9fffd8 100644
--- a/src/gprs/sgsn_libgtp.c
+++ b/src/gprs/sgsn_libgtp.c
@@ -153,7 +153,7 @@ struct sgsn_pdp_ctx *sgsn_create_pdp_ctx(struct sgsn_ggsn_ctx *ggsn,
imsi_ui64 = imsi_str2gtp(mmctx->imsi);
- rc = pdp_newpdp(&pdp, imsi_ui64, nsapi, NULL);
+ rc = gtp_pdp_newpdp(ggsn->gsn, &pdp, imsi_ui64, nsapi, NULL);
if (rc) {
LOGP(DGPRS, LOGL_ERROR, "Out of libgtp PDP Contexts\n");
return NULL;