--- a/src/netanim/examples/dumbbell-animation.cc Sun May 22 23:17:41 2011 -0700
+++ b/src/netanim/examples/dumbbell-animation.cc Sun May 22 23:18:47 2011 -0700
@@ -61,9 +61,9 @@
pointToPointLeaf.SetDeviceAttribute ("DataRate", StringValue ("10Mbps"));
pointToPointLeaf.SetChannelAttribute ("Delay", StringValue ("1ms"));
- PointToPointDumbbellHelper d(nLeftLeaf, pointToPointLeaf,
- nRightLeaf, pointToPointLeaf,
- pointToPointRouter);
+ PointToPointDumbbellHelper d (nLeftLeaf, pointToPointLeaf,
+ nRightLeaf, pointToPointLeaf,
+ pointToPointRouter);
// Install Stack
InternetStackHelper stack;
@@ -87,7 +87,7 @@
// Create an on/off app sending packets to the same leaf right side
AddressValue remoteAddress (InetSocketAddress (d.GetLeftIpv4Address (i), 1000));
clientHelper.SetAttribute ("Remote", remoteAddress);
- clientApps.Add(clientHelper.Install (d.GetRight (i)));
+ clientApps.Add (clientHelper.Install (d.GetRight (i)));
}
clientApps.Start (Seconds (0.0));
@@ -116,6 +116,6 @@
std::cout << "Destroying the simulation" << std::endl;
Simulator::Destroy ();
std::cout << "Stopping the animation" << std::endl;
- anim.StopAnimation();
+ anim.StopAnimation ();
return 0;
}