Bugzilla – Full Text Bug Listing |
Summary: | IPv6 size calculation for unknown options is wrong | ||
---|---|---|---|
Product: | ns-3 | Reporter: | Fabian Mauchle <f1mauchl> |
Component: | internet | Assignee: | Sebastien Vincent <vincent> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | faker.moatamri, ns-bugs |
Priority: | P5 | ||
Version: | ns-3-dev | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | patch |
Good catch! I am OK to apply. Done 8f126818f691. |
Created attachment 692 [details] patch IPv6 defines a mechanism to handle unknown options (This is implemented in Ipv6Extension::ProcessOptions). The size calculation does not take into account that the option header adds an additional 2 bytes to the total length of an option.