utils/print-introspected-doxygen.cc
changeset 2500 1fb9430f642d
parent 2470 254581fb9e9c
child 2502 50d0da37f02f
     1.1 --- a/utils/print-introspected-doxygen.cc	Mon Feb 25 19:33:46 2008 +0100
     1.2 +++ b/utils/print-introspected-doxygen.cc	Wed Feb 27 20:23:57 2008 +0100
     1.3 @@ -122,8 +122,9 @@
     1.4    Ptr<PointToPointNetDevice> p2p = CreateObject<PointToPointNetDevice> (node, Mac48Address::Allocate ());
     1.5    node->AddDevice (p2p);
     1.6    p2p->AddQueue (Queue::CreateDefault ());
     1.7 -  Ptr<CsmaNetDevice> csma = CreateObject<CsmaNetDevice> (node, Mac48Address::Allocate (),
     1.8 -							 CsmaNetDevice::LLC);
     1.9 +  Ptr<CsmaNetDevice> csma = CreateObjectWith<CsmaNetDevice> ("Node", node, 
    1.10 +							     "Address", Mac48Address::Allocate (),
    1.11 +							     "EncapsulationMode", "Llc");
    1.12    node->AddDevice (csma);
    1.13    csma->AddQueue (Queue::CreateDefault ());
    1.14