--- 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));