Bug 2822 - Prevent ADDR_MODE_RESERVED use
Prevent ADDR_MODE_RESERVED use
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: lr-wpan
ns-3-dev
All All
: P3 minor
Assigned To: Tom Henderson
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-11-14 18:34 EST by Tommaso Pecorella
Modified: 2017-12-08 19:09 EST (History)
1 user (show)

See Also:


Attachments
Patch (677 bytes, patch)
2017-11-14 18:34 EST, Tommaso Pecorella
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tommaso Pecorella 2017-11-14 18:34:24 EST
Created attachment 2959 [details]
Patch

The standard explicitly forbids to use an ADDR_MODE_RESERVED address type.
In the actual code this is not enforced.
The proposed patch adds a NS_ABORT_MSG if this case is found.
Comment 1 Tom Henderson 2017-12-04 22:03:33 EST
Looks good.
Comment 2 Tommaso Pecorella 2017-12-08 19:09:57 EST
changeset 13196:ac16e4118694