Bugzilla – Bug 925
Various IPv6 cc files trigger deprecated warning
Last modified: 2010-08-11 00:31:45 UTC
Created attachment 895 [details] Proposed patch. icmpv6-header.cc uses the deprecated Packet::PeekData ().
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