Bug 770 - IPv6 size calculation for unknown options is wrong
IPv6 size calculation for unknown options is wrong
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: internet
ns-3-dev
All All
: P5 normal
Assigned To: Sebastien Vincent
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-12-04 04:29 EST by Fabian Mauchle
Modified: 2009-12-18 12:45 EST (History)
2 users (show)

See Also:


Attachments
patch (460 bytes, patch)
2009-12-04 04:29 EST, Fabian Mauchle
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Mauchle 2009-12-04 04:29:59 EST
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.
Comment 1 Sebastien Vincent 2009-12-16 12:06:06 EST
Good catch!

I am OK to apply.
Comment 2 Sebastien Vincent 2009-12-18 12:45:57 EST
Done 8f126818f691.