Bug 2822

Summary: Prevent ADDR_MODE_RESERVED use
Product: ns-3 Reporter: Tommaso Pecorella <tommaso.pecorella>
Component: lr-wpanAssignee: Tom Henderson <tomh>
Status: RESOLVED FIXED    
Severity: minor CC: ns-bugs
Priority: P3    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: Patch

Description Tommaso Pecorella 2017-11-14 18:34:24 UTC
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 UTC
Looks good.
Comment 2 Tommaso Pecorella 2017-12-08 19:09:57 UTC
changeset 13196:ac16e4118694