Change in osmo-sgsn[master]: sgsn_libgtp: Replace deprcated API pdp_newpdp with per-gsn new API

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Fri May 31 15:03:17 UTC 2019


Pau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/14292


Change subject: sgsn_libgtp: Replace deprcated API pdp_newpdp with per-gsn new API
......................................................................

sgsn_libgtp: Replace deprcated API pdp_newpdp with per-gsn new API

Depends: osmo-ggsn.git I653cbdc185165592d985e3efab6e3f1add97877b
Related: OS#2873
Change-Id: Iaaffe0ec4d9590309c62b62c446677c6f6732f2a
---
M src/gprs/sgsn_libgtp.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/92/14292/1

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 @@
 
 	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;

-- 
To view, visit https://gerrit.osmocom.org/14292
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaaffe0ec4d9590309c62b62c446677c6f6732f2a
Gerrit-Change-Number: 14292
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190531/c4281273/attachment.htm>


More information about the gerrit-log mailing list