Bug 925

Summary: Various IPv6 cc files trigger deprecated warning
Product: ns-3 Reporter: Quincy Tse <quincy.tse>
Component: internetAssignee: ns-bugs <ns-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: jpelkey
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: Proposed patch.
Proposed patch.

Description Quincy Tse 2010-05-28 00:43:37 EDT
Created attachment 895 [details]
Proposed patch.

icmpv6-header.cc uses the deprecated Packet::PeekData ().
Comment 1 Quincy Tse 2010-05-28 01:14:24 EDT
Updated to include all IPv6 files that triggers the deprecation warning.
Comment 2 Quincy Tse 2010-05-28 01:14:56 EDT
Created attachment 896 [details]
Proposed patch.
Comment 3 Quincy Tse 2010-05-28 01:49:08 EDT
I'll concede that the variable names in the patch are quite ugly "firstOctet" I think I can replace some of them with "type", but I'm really not certain about the layout of IPv6. There are also places where (I think) the value of the first octet had been copied multiple times (every time I see PeekData ()) - I don't know whether the value might be changed, so I kept them there just in case.
Comment 4 Josh Pelkey 2010-08-11 00:31:45 EDT
changeset: 487146fc889e