utils/print-introspected-doxygen.cc
changeset 2470 254581fb9e9c
parent 2258 666099a753e0
child 2500 1fb9430f642d
     1.1 --- a/utils/print-introspected-doxygen.cc	Thu Jan 31 22:23:46 2008 +0100
     1.2 +++ b/utils/print-introspected-doxygen.cc	Mon Feb 25 19:33:46 2008 +0100
     1.3 @@ -119,9 +119,12 @@
     1.4    Ptr<Node> node = CreateObject<InternetNode> ();
     1.5    node->AggregateObject (CreateObject<MobilityModelNotifier> ());
     1.6  
     1.7 -  Ptr<PointToPointNetDevice> p2p = CreateObject<PointToPointNetDevice> (node);
     1.8 +  Ptr<PointToPointNetDevice> p2p = CreateObject<PointToPointNetDevice> (node, Mac48Address::Allocate ());
     1.9 +  node->AddDevice (p2p);
    1.10    p2p->AddQueue (Queue::CreateDefault ());
    1.11 -  Ptr<CsmaNetDevice> csma = CreateObject<CsmaNetDevice> (node);
    1.12 +  Ptr<CsmaNetDevice> csma = CreateObject<CsmaNetDevice> (node, Mac48Address::Allocate (),
    1.13 +							 CsmaNetDevice::LLC);
    1.14 +  node->AddDevice (csma);
    1.15    csma->AddQueue (Queue::CreateDefault ());
    1.16  
    1.17    TraceResolver::SourceCollection collection;