Bug 2539 - emu-fd-net-device-helper.cc dead assignment
emu-fd-net-device-helper.cc dead assignment
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: fd-net-device
unspecified
PC Linux
: P5 normal
Assigned To: alina
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-11-06 05:59 UTC by natale.patriciello
Modified: 2016-11-07 21:16 UTC (History)
2 users (show)

See Also:


Attachments
patch (954 bytes, patch)
2016-11-06 05:59 UTC, natale.patriciello
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description natale.patriciello 2016-11-06 05:59:04 UTC
Created attachment 2657 [details]
patch

Very simple fix, remember that execlp should not return. Just read somewhere the status variable.
Comment 1 natale.patriciello 2016-11-07 13:27:24 UTC
There is the same problem on src/fd-net-device/helper/tap-fd-net-device-helper.cc ; if I get an ok, I will push the same changes for both files.
Comment 2 Tom Henderson 2016-11-07 13:43:12 UTC
This seems uncontroversial, so I would recommend to push in a day or two if no comments received.
Comment 3 alina 2016-11-07 21:15:27 UTC
Thank you for the fix. 

Committed in changeset bc96ed291d1e.