Change in osmo-ggsn[master]: sgsnemu: Replace old API pdp_newpdp with new one provided by libgtp

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:33 UTC 2019


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


Change subject: sgsnemu: Replace old API pdp_newpdp with new one provided by libgtp
......................................................................

sgsnemu: Replace old API pdp_newpdp with new one provided by libgtp

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



  git pull ssh://gerrit.osmocom.org:29418/osmo-ggsn refs/changes/99/14299/1

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

Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9742b82c382ae2e63f8aff4c5c32e2450059082b
Gerrit-Change-Number: 14299
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/4b35d538/attachment.htm>


More information about the gerrit-log mailing list