[Ns-bugs] [Bug 275] New: Queue::Peek should return Ptr<const Packet>

bugzilla-daemon@nsnam-www.ece.gatech.edu bugzilla-daemon at nsnam-www.ece.gatech.edu
Thu Aug 7 11:39:57 PDT 2008


http://www.nsnam.org/bugzilla/show_bug.cgi?id=275

           Summary: Queue::Peek should return Ptr<const Packet>
           Product: ns-3
           Version: pre-release
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: node module
        AssignedTo: ns-bugs at isi.edu
        ReportedBy: mathieu.lacage at sophia.inria.fr


It really makes zero sense to return Ptr<Packet>. You want to make sure that
callers of Queue::Peek cannot modify the packet returned.


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Ns-bugs mailing list