diff -r 872dc8466352 -r 969d4f6ab9ba examples/simple-error-model.cc --- a/examples/simple-error-model.cc Mon Apr 07 10:41:21 2008 -0700 +++ b/examples/simple-error-model.cc Mon Apr 07 10:44:06 2008 -0700 @@ -130,7 +130,7 @@ // Create an optional packet sink to receive these packets PacketSinkHelper sink; - sink.SetupUdp (Ipv4Address::GetAny (), port); + sink.SetUdpLocal (Ipv4Address::GetAny (), port); apps = sink.Install (c.Get (3)); apps.Start (Seconds (1.0)); apps.Stop (Seconds (10.0)); @@ -142,7 +142,7 @@ apps.Stop (Seconds(10.0)); // Create a packet sink to receive these packets - sink.SetupUdp (Ipv4Address::GetAny (), port); + sink.SetUdpLocal (Ipv4Address::GetAny (), port); apps = sink.Install (c.Get (1)); apps.Start (Seconds (1.1)); apps.Stop (Seconds (10.0));