utils/print-introspected-doxygen.cc
changeset 2533 80cdc3eec057
parent 2502 50d0da37f02f
child 2540 4e9ba43f7b9e
--- a/utils/print-introspected-doxygen.cc	Sun Mar 02 21:12:21 2008 +0100
+++ b/utils/print-introspected-doxygen.cc	Sun Mar 02 21:57:28 2008 +0100
@@ -5,6 +5,7 @@
 #include "ns3/point-to-point-net-device.h"
 #include "ns3/csma-net-device.h"
 #include "ns3/queue.h"
+#include "ns3/drop-tail-queue.h"
 #include "ns3/mobility-model-notifier.h"
 #include "ns3/default-value.h"
 #include "ns3/string.h"
@@ -123,12 +124,12 @@
   Ptr<PointToPointNetDevice> p2p = CreateObjectWith<PointToPointNetDevice> ("Node", node, 
 									    "Address", Mac48Address::Allocate ());
   node->AddDevice (p2p);
-  p2p->AddQueue (Queue::CreateDefault ());
+  p2p->AddQueue (CreateObject<DropTailQueue> ());
   Ptr<CsmaNetDevice> csma = CreateObjectWith<CsmaNetDevice> ("Node", node, 
 							     "Address", Mac48Address::Allocate (),
 							     "EncapsulationMode", String ("Llc"));
   node->AddDevice (csma);
-  csma->AddQueue (Queue::CreateDefault ());
+  csma->AddQueue (CreateObject<DropTailQueue> ());
 
   TraceResolver::SourceCollection collection;
   NodeList::GetTraceResolver ()->CollectSources ("", TraceContext (), &collection);