flow-monitor: Fix FlowMonitor::Stop () method
This commit is contained in:
committed by
Tom Henderson
parent
71247a83f7
commit
e0f2f451ff
@@ -360,10 +360,6 @@ FlowMonitor::Start (const Time &time)
|
||||
void
|
||||
FlowMonitor::Stop (const Time &time)
|
||||
{
|
||||
if (!m_enabled)
|
||||
{
|
||||
return;
|
||||
}
|
||||
Simulator::Cancel (m_stopEvent);
|
||||
m_stopEvent = Simulator::Schedule (time, &FlowMonitor::StopRightNow, this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user