mirror of
				https://gitea.osmocom.org/cellular-infrastructure/osmo-ggsn.git
				synced 2025-11-03 21:53:25 +00:00 
			
		
		
		
	sgsnemu: Replace use of deprecated libgtp API pdp_newpdp with new one
Related: OS#2873 Change-Id: I9742b82c382ae2e63f8aff4c5c32e2450059082b
This commit is contained in:
		@@ -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 */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user