Bug 2617 - PfifoFastQueueDisc::Peek() broken
PfifoFastQueueDisc::Peek() broken
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: traffic-control
unspecified
All All
: P3 normal
Assigned To: Stefano Avallone
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-01-13 17:58 UTC by Tom Henderson
Modified: 2017-01-14 11:42 UTC (History)
1 user (show)

See Also:


Attachments
patch to fix (946 bytes, patch)
2017-01-13 17:58 UTC, Tom Henderson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Henderson 2017-01-13 17:58:43 UTC
Created attachment 2746 [details]
patch to fix

Peek() will only try the first band, and will fail to return an item if items do not exist in that band but exist in other bands.
Comment 1 Stefano Avallone 2017-01-14 09:48:05 UTC
Good catch!

Please go ahead and push the fix (or let me know if you want me to do it on your behalf).

Thanks!