Bug 904

Summary: Packet::AddPacketTag is const but RemovePacketTag is not
Product: ns-3 Reporter: Gustavo J. A. M. Carneiro <gjcarneiro>
Component: coreAssignee: Mathieu Lacage <mathieu.lacage>
Status: RESOLVED WONTFIX    
Severity: normal CC: tomh
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: patch

Description Gustavo J. A. M. Carneiro 2010-05-02 14:40:34 EDT
Created attachment 861 [details]
patch

I am surprised that Packet::AddPacketTag is const but RemovePacketTag is not.  This is inconsistent.
Comment 1 Gustavo J. A. M. Carneiro 2011-05-18 13:37:26 EDT
ping
Comment 2 Mathieu Lacage 2011-08-10 13:17:48 EDT
why Add is const: allows you to tag packets even from trace callbacks that give you const packets. How ? scary.
why Remove is not const: could not figure out how to make it work.