AddParameter -> AddAttribute

This commit is contained in:
Mathieu Lacage committed 2008-02-21 19:28:41 +01:00
1 parent 36c497c04c
commit 33be90636b
12 files changed
+274 -274

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ TypeId DropTailQueue::GetTypeId (void)
static TypeId tid = TypeId ("DropTailQueue")
.SetParent<Queue> ()
.AddConstructor<DropTailQueue> ()
.AddParameter ("MaxPackets", "The maximum number of packets accepted by this DropTailQueue.",
.AddAttribute ("MaxPackets", "The maximum number of packets accepted by this DropTailQueue.",
Uinteger (100),
MakeUintegerAccessor (&DropTailQueue::m_maxPackets),
MakeUintegerChecker<uint32_t> ())