Bugzilla – Full Text Bug Listing |
Summary: | packet.cc triggers deprecated warning | ||
---|---|---|---|
Product: | ns-3 | Reporter: | Quincy Tse <quincy.tse> |
Component: | core | Assignee: | ns-bugs <ns-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | trivial | CC: | jpelkey |
Priority: | P5 | ||
Version: | ns-3-dev | ||
Hardware: | All | ||
OS: | All | ||
Attachments: |
Proposed patch.
Proposed patch fixing the 1st instance. Patch removing the 2nd instance |
Description
Quincy Tse
2010-03-17 20:52:47 UTC
Created attachment 795 [details] Proposed patch. The unit test routines used the deprecated function Packet::PeekData. I've changed the 1st occurrence to use CopyData. The 2nd occurrence cannot be changed as it tests against a specific bug (#572) - now that PeekData is deprecated, do we still need the test case? Is CopyData prone to bug 572 or similar? Created attachment 893 [details]
Proposed patch fixing the 1st instance.
Can someone review and apply this patch?
Created attachment 894 [details]
Patch removing the 2nd instance
In reply to my own comment at the start - given Packet::PeekData is now deprecated, there really are no reason to keep a test for it... changeset: 487146fc889e |