sgsnemu: Replace use of deprecated libgtp API pdp_newpdp with new one
Related: OS#2873 Change-Id: I9742b82c382ae2e63f8aff4c5c32e2450059082b
This commit is contained in:
parent
7b52f00192
commit
d1a2ddfee6
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue