Bug 856

Summary: DropTailQueue: uninitialized variable
Product: ns-3 Reporter: Dmitry Shinkaruk <dimashink>
Component: networkAssignee: ns-bugs <ns-bugs>
Status: VERIFIED FIXED    
Severity: normal CC: craigdo
Priority: P5 Keywords: bug
Version: ns-3.7   
Hardware: All   
OS: All   

Description Dmitry Shinkaruk 2010-04-03 18:42:22 UTC
Variable m_bytesInQueue should be initialized. Sometimes it is impossible to add packet in queue because the variable initially is not equal to zero and method Enqueue fails wen the mode is set to BYTES.
Comment 1 Craig Dowell 2010-04-15 18:14:00 UTC
After extensive study and research, our blue-ribbon committee has voted that it is probably a good idea to initialiaize variables before use.

Fixed changeset 1204777b0bcf