From cabb264eefe08dd28fbeb0976d6ac7cd063699f9 Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Tue, 25 Mar 2008 17:02:14 -0700 Subject: [PATCH] initialize factories correctly. --- src/helper/point-to-point-helper.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/helper/point-to-point-helper.cc b/src/helper/point-to-point-helper.cc index 5a7570d80..263b9cad6 100644 --- a/src/helper/point-to-point-helper.cc +++ b/src/helper/point-to-point-helper.cc @@ -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,