author | Mathieu Lacage <mathieu.lacage@sophia.inria.fr> |
Tue, 27 May 2008 15:57:51 -0700 | |
changeset 3155 | c16f03104828 |
parent 3154 | aa61e5f85334 |
child 3156 | fcc19abc0ace |
child 3158 | 2a4305eeca93 |
--- 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)));