changeset 2592 | 3ebf97150166 |
parent 2559 | ab98bf436a17 |
child 2594 | a8f89acd17a1 |
--- a/samples/main-ap-wifi.cc Tue Mar 11 11:35:26 2008 -0700 +++ b/samples/main-ap-wifi.cc Tue Mar 11 13:30:12 2008 -0700 @@ -144,7 +144,7 @@ destination.SetSingleDevice (0); destination.SetPhysicalAddress (staDevs.Get(1)->GetAddress ()); Ptr<Application> app = - CreateObjectWith<OnOffApplication> ("Node", stas.Get (0), + CreateObject<OnOffApplication> ("Node", stas.Get (0), "Remote", Address (destination), "Protocol", TypeId::LookupByName ("Packet"), "OnTime", ConstantVariable (42),