the sink must be enabled on node 2
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Tue Sep 23 16:02:30 2008 -0700 (16 months ago)
changeset 37139f5d59e52e38
parent 3712 fd3a9f294807
child 3714 249ec8d21b24
the sink must be enabled on node 2
examples/simple-error-model.cc
     1.1 --- a/examples/simple-error-model.cc	Tue Sep 23 09:53:52 2008 -0700
     1.2 +++ b/examples/simple-error-model.cc	Tue Sep 23 16:02:30 2008 -0700
     1.3 @@ -134,7 +134,7 @@
     1.4    // Create an optional packet sink to receive these packets
     1.5    PacketSinkHelper sink ("ns3::UdpSocketFactory",
     1.6      Address (InetSocketAddress (Ipv4Address::GetAny (), port)));
     1.7 -  apps = sink.Install (c.Get (3));
     1.8 +  apps = sink.Install (c.Get (2));
     1.9    apps.Start (Seconds (1.0));
    1.10    apps.Stop (Seconds (10.0));
    1.11