Change in ...osmo-sgsn[master]: sgsn_libgtp: Use new per-GSN libgtp API instead of deprecated 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/.

laforge gerrit-no-reply at lists.osmocom.org
Thu Jun 6 15:30:47 UTC 2019


laforge has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/14292 )

Change subject: sgsn_libgtp: Use new per-GSN libgtp API instead of deprecated API
......................................................................

sgsn_libgtp: Use new per-GSN libgtp API instead of deprecated 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(-)

Approvals:
  laforge: Looks good to me, approved
  Jenkins Builder: Verified



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/c/osmo-sgsn/+/14292
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: Iaaffe0ec4d9590309c62b62c446677c6f6732f2a
Gerrit-Change-Number: 14292
Gerrit-PatchSet: 3
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at gnumonks.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190606/ca89dfc5/attachment.htm>


More information about the gerrit-log mailing list