examples/mesh.cc
changeset 4961 62ff08884f5e
parent 4947 c665ebbe99a7
child 4962 00ee1735c339
--- a/examples/mesh.cc	Mon Apr 13 09:33:58 2009 +0400
+++ b/examples/mesh.cc	Wed Apr 15 16:42:38 2009 +0400
@@ -104,7 +104,7 @@
   echoClient.SetAttribute ("MaxPackets", UintegerValue (100000));
   echoClient.SetAttribute ("Interval", TimeValue (Seconds (0.005)));
   echoClient.SetAttribute ("PacketSize", UintegerValue (1024));
-  ApplicationContainer clientApps = echoClient.Install (nodes.Get (1));
+  ApplicationContainer clientApps = echoClient.Install (nodes.Get (xSize*ySize-1));
   clientApps.Start (Seconds (2.0));
   clientApps.Stop (Seconds (100.0));