Bugzilla – Full Text Bug Listing |
Summary: | Packet::AddPacketTag is const but RemovePacketTag is not | ||
---|---|---|---|
Product: | ns-3 | Reporter: | Gustavo J. A. M. Carneiro <gjcarneiro> |
Component: | core | Assignee: | Mathieu Lacage <mathieu.lacage> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | tomh |
Priority: | P5 | ||
Version: | ns-3-dev | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | patch |
ping 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. |
Created attachment 861 [details] patch I am surprised that Packet::AddPacketTag is const but RemovePacketTag is not. This is inconsistent.