initialize factories correctly.

This commit is contained in:
Mathieu Lacage
2008-03-25 17:02:14 -07:00
parent ab8a395c49
commit cabb264eef

View File

@@ -7,7 +7,11 @@ namespace ns3 {
PointToPointHelper::PointToPointHelper ()
{}
{
m_queueFactory.SetTypeId ("ns3::DropTailQueue");
m_deviceFactory.SetTypeId ("ns3::PointToPointNetDevice");
m_channelFactory.SetTypeId ("ns3::PointToPointChannel");
}
void
PointToPointHelper::SetQueue (std::string type,