Bug 2198

Summary: Packet::PeekTrailer() should be const
Product: ns-3 Reporter: Rubén Martínez <rmartinez>
Component: networkAssignee: ns-bugs <ns-bugs>
Status: NEW ---    
Severity: enhancement    
Priority: P5    
Version: ns-3-dev   
Hardware: PC   
OS: Linux   

Description Rubén Martínez 2015-10-22 14:56:26 EDT
packet.h line: 358 : uint32_t PeekTrailer (Trailer &trailer);
should be declared as: uint32_t PeekTrailer (Trailer &trailer) const;

To ensure no changes just like in the cases of PeekHeader() or PeekPacketTag()