utils/print-introspected-doxygen.cc
changeset 2600 6c389d0c717d
parent 2592 3ebf97150166
child 2602 d9262bff6df2
--- a/utils/print-introspected-doxygen.cc	Wed Mar 12 11:35:00 2008 -0700
+++ b/utils/print-introspected-doxygen.cc	Thu Mar 13 11:10:38 2008 -0700
@@ -17,13 +17,11 @@
   Ptr<Node> node = CreateObject<InternetNode> ();
   node->AggregateObject (CreateObject<MobilityModelNotifier> ());
 
-  Ptr<PointToPointNetDevice> p2p = CreateObject<PointToPointNetDevice> ("Node", node, 
-									    "Address", Mac48Address::Allocate ());
+  Ptr<PointToPointNetDevice> p2p = CreateObject<PointToPointNetDevice> ("Address", Mac48Address::Allocate ());
   node->AddDevice (p2p);
   p2p->AddQueue (CreateObject<DropTailQueue> ());
-  Ptr<CsmaNetDevice> csma = CreateObject<CsmaNetDevice> ("Node", node, 
-							     "Address", Mac48Address::Allocate (),
-							     "EncapsulationMode", String ("Llc"));
+  Ptr<CsmaNetDevice> csma = CreateObject<CsmaNetDevice> ("Address", Mac48Address::Allocate (),
+							 "EncapsulationMode", String ("Llc"));
   node->AddDevice (csma);
   csma->AddQueue (CreateObject<DropTailQueue> ());