Bug 2198 - Packet::PeekTrailer() should be const
Packet::PeekTrailer() should be const
Status: NEW
Product: ns-3
Classification: Unclassified
Component: network
ns-3-dev
PC Linux
: P5 enhancement
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-10-22 14:56 EDT by Rubén Martínez
Modified: 2015-10-22 14:56 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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()