|
Bugzilla – Full Text Bug Listing |
| Summary: | AODV DeferredRouteOutputTag is a bug. | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Tommaso Pecorella <tommaso.pecorella> |
| Component: | aodv | Assignee: | ns-bugs <ns-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | ns-3-dev | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: | Fix for the Aodv DeferredOutputTag malformed tag | ||
|
Description
Tommaso Pecorella
2012-03-20 16:54:42 UTC
This simply means that one of our Header or Trailer subclasses is missing a call to AddConstructor from its GetTypeId method (In reply to comment #1) > This simply means that one of our Header or Trailer subclasses is missing a > call to AddConstructor from its GetTypeId method The bug is in the code, but it's not where I assumed it was. /// Tag used by AODV implementation struct DeferredRouteOutputTag : public Tag ^^^^ Moreover this tag does not have a constructor defined in the GetTypeId function. This is definitely a bad idea. A leakage of this tag into the upper layers was causing this bug. Changing the bug name and scope. Created attachment 1367 [details]
Fix for the Aodv DeferredOutputTag malformed tag
Simple patch. Just changed the struct to a class and added the proper constructor.
fixed in changeset 7792 - e3d19bee62e8 |