A "packet set" can span multiple PacketSequences - the outermost loop during transmission should increment in units of PacketSet rather than PacketSequence
Fixes issue 116
This commit is contained in:
parent
68c95ba8d9
commit
05cf3bdc5f
@ -502,7 +502,8 @@ void PcapPort::PortTransmitter::run()
|
||||
packetSequenceList_.at(i)->usecDuration_);
|
||||
}
|
||||
|
||||
for(i = 0; i < packetSequenceList_.size(); i++)
|
||||
i = 0;
|
||||
while (i < packetSequenceList_.size())
|
||||
{
|
||||
|
||||
_restart:
|
||||
@ -566,6 +567,9 @@ _restart:
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Move to the next Packet Set
|
||||
i += rptSz;
|
||||
}
|
||||
|
||||
if (returnToQIdx_ >= 0)
|
||||
|
Loading…
Reference in New Issue
Block a user