examples/wifi-ap.cc
changeset 3155 c16f03104828
parent 3116 c33b6d2775b7
child 3174 efeb6e5c276d
--- a/examples/wifi-ap.cc	Tue May 27 15:32:08 2008 -0700
+++ b/examples/wifi-ap.cc	Tue May 27 15:57:51 2008 -0700
@@ -162,7 +162,7 @@
   socket.SetPhysicalAddress (staDevs.Get (1)->GetAddress ());
   socket.SetProtocol (1);
 
-  OnOffHelper onoff ("ns3::PacketSocket", Address (socket));
+  OnOffHelper onoff ("ns3::PacketSocketFactory", Address (socket));
   onoff.SetAttribute ("OnTime", RandomVariableValue (ConstantVariable (42)));
   onoff.SetAttribute ("OffTime", RandomVariableValue (ConstantVariable (0)));