aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-05-31 16:17:27 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-06-04 17:46:15 +0200
commitd1a2ddfee68477a44e258c815b077605b1a2023f (patch)
treeb305733a9d4cf4cde32d2642b5177bc4ec52cfd1
parent7b52f00192629dcfc957e8afdba008e8acb0cbb6 (diff)
sgsnemu: Replace use of deprecated libgtp API pdp_newpdp with new one
-rw-r--r--sgsnemu/sgsnemu.c2
1 files changed, 1 insertions, 1 deletions
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 @@ int main(int argc, char **argv)
/* 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 */