traffic-control: Fix implicit bool conversion in CodelQueueDiscTestItem ctor
Defaults to 0, similarly to the other test suites
This commit is contained in:
committed by
Stefano Avallone
parent
fd6188871d
commit
cfcf8c0c5c
@@ -88,7 +88,7 @@ class CodelQueueDiscTestItem : public QueueDiscItem
|
||||
};
|
||||
|
||||
CodelQueueDiscTestItem::CodelQueueDiscTestItem(Ptr<Packet> p, const Address& addr, bool ecnCapable)
|
||||
: QueueDiscItem(p, addr, ecnCapable),
|
||||
: QueueDiscItem(p, addr, 0),
|
||||
m_ecnCapablePacket(ecnCapable)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user