Bug 2534 - ARED and PIE examples should return 1 upon exit
ARED and PIE examples should return 1 upon exit
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: traffic-control
ns-3-dev
All All
: P5 enhancement
Assigned To: Stefano Avallone
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-11-03 11:09 UTC by Mohit
Modified: 2016-11-05 07:46 UTC (History)
2 users (show)

See Also:


Attachments
Proposed patch (3.17 KB, patch)
2016-11-03 11:09 UTC, Mohit
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mohit 2016-11-03 11:09:15 UTC
Created attachment 2647 [details]
Proposed patch

ARED and PIE examples in 

src/traffic-control/examples/

return -1 upon exit. Should be changed to return 1 upon exit to indicate failure.

Thanks to Tom Sir for suggesting this change.
Comment 1 natale.patriciello 2016-11-04 10:21:21 UTC
+1, I would add it as soon as possible to the mainline.
Comment 2 Stefano Avallone 2016-11-05 07:46:18 UTC
Pushed with changeset 12391:3e61712ea721

Thanks!