examples/tcp-large-transfer.cc
changeset 2888 872dc8466352
parent 2887 9a637e6daee0
child 2889 969d4f6ab9ba
--- a/examples/tcp-large-transfer.cc	Mon Apr 07 10:38:37 2008 -0700
+++ b/examples/tcp-large-transfer.cc	Mon Apr 07 10:41:21 2008 -0700
@@ -150,9 +150,9 @@
   // Later, we add IP addresses.  
   Ipv4AddressHelper ipv4;
   ipv4.SetBase ("10.1.3.0", "255.255.255.0");
-  ipv4.Allocate (dev0);
+  ipv4.Assign (dev0);
   ipv4.SetBase ("10.1.2.0", "255.255.255.0");
-  Ipv4InterfaceContainer ipInterfs = ipv4.Allocate (dev1);
+  Ipv4InterfaceContainer ipInterfs = ipv4.Assign (dev1);
 
   // and setup ip routing tables to get total ip-level connectivity.
   GlobalRouteManager::PopulateRoutingTables ();