Bug 118

Summary: Packet::AddTag is a non-const method
Product: ns-3 Reporter: Mathieu Lacage <mathieu.lacage>
Component: coreAssignee: ns-bugs <ns-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: pre-release   
Hardware: All   
OS: All   
Attachments: fix bug 118

Description Mathieu Lacage 2007-12-11 07:44:15 UTC
If you want to be able to tag packets from trace sinks and if trace sinks take Ptr<const Packet> arguments, then, Packet::AddTag must be made a const method.

Patch attached.
Comment 1 Mathieu Lacage 2007-12-11 07:45:09 UTC
Created attachment 95 [details]
fix bug 118
Comment 2 Tom Henderson 2007-12-12 02:10:53 UTC
+1
Comment 3 Mathieu Lacage 2007-12-26 10:00:13 UTC
patch applied.