src/csma/examples/csma-multicast.cc
changeset 7256 b04ba6772f8c
parent 7170 8417cff6e353
child 8966 060dba23e9bb
--- a/src/csma/examples/csma-multicast.cc	Sun May 22 23:17:41 2011 -0700
+++ b/src/csma/examples/csma-multicast.cc	Sun May 22 23:18:47 2011 -0700
@@ -119,7 +119,7 @@
 
   // 2) Set up a default multicast route on the sender n0 
   Ptr<Node> sender = c.Get (0);
-  Ptr<NetDevice> senderIf = nd0.Get(0);
+  Ptr<NetDevice> senderIf = nd0.Get (0);
   multicast.SetDefaultMulticastRoute (sender, senderIf);
 
   //
@@ -144,12 +144,12 @@
   //
   // Tell the application when to start and stop.
   //
-  srcC.Start(Seconds(1.));
-  srcC.Stop (Seconds(10.));
+  srcC.Start (Seconds (1.));
+  srcC.Stop (Seconds (10.));
 
   // Create an optional packet sink to receive these packets
   PacketSinkHelper sink ("ns3::UdpSocketFactory",
-                         InetSocketAddress (Ipv4Address::GetAny(), multicastPort));
+                         InetSocketAddress (Ipv4Address::GetAny (), multicastPort));
 
   ApplicationContainer sinkC = sink.Install (c1.Get (2)); // Node n4 
   // Start the sink