Bugzilla – Full Text Bug Listing |
Summary: | Various IPv6 cc files trigger deprecated warning | ||
---|---|---|---|
Product: | ns-3 | Reporter: | Quincy Tse <quincy.tse> |
Component: | internet | Assignee: | 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. |
Updated to include all IPv6 files that triggers the deprecation warning. Created attachment 896 [details]
Proposed patch.
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. changeset: 487146fc889e |
Created attachment 895 [details] Proposed patch. icmpv6-header.cc uses the deprecated Packet::PeekData ().