Change in ...osmo-ggsn[master]: sgsnemu: Replace use of deprecated libgtp API pdp_newpdp with new one

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Tue Jun 4 18:46:54 UTC 2019


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/osmo-ggsn/+/14299 )

Change subject: sgsnemu: Replace use of deprecated libgtp API pdp_newpdp with new one
......................................................................

sgsnemu: Replace use of deprecated libgtp API pdp_newpdp with new one

Related: OS#2873
Change-Id: I9742b82c382ae2e63f8aff4c5c32e2450059082b
---
M sgsnemu/sgsnemu.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/sgsnemu/sgsnemu.c b/sgsnemu/sgsnemu.c
index 225dc59..36b52fc 100644
--- a/sgsnemu/sgsnemu.c
+++ b/sgsnemu/sgsnemu.c
@@ -1614,7 +1614,7 @@
 		/* Allocated here. */
 		/* If create context failes we have to deallocate ourselves. */
 		/* Otherwise it is deallocated by gtplib */
-		pdp_newpdp(&pdp, myimsi, options.nsapi, NULL);
+		gtp_pdp_newpdp(gsn, &pdp, myimsi, options.nsapi, NULL);
 
 		pdp->peer[0] = &iparr[n]; /* FIXME: support v4v6, have 2 peers */
 		pdp->ipif = tun;	/* TODO */

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ggsn/+/14299
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Change-Id: I9742b82c382ae2e63f8aff4c5c32e2450059082b
Gerrit-Change-Number: 14299
Gerrit-PatchSet: 4
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <axilirator at gmail.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190604/df391958/attachment.htm>


More information about the gerrit-log mailing list