Bug 2374

Summary: TapFdNetDeviceHelper
Product: ns-3 Reporter: airremi
Component: fd-net-deviceAssignee: alina <aquereilhac>
Status: RESOLVED FIXED    
Severity: normal CC: ns-bugs, tommaso.pecorella
Priority: P5    
Version: ns-3.25   
Hardware: PC   
OS: Linux   
Attachments: patch

Description airremi 2016-04-14 11:39:11 UTC
The TapFdNetDeviceHelper does not seem to work in ns-3.25.

Running the fd-tap-ping example crashes with the error:

assert failed. cond="numberOfDots == 3", msg="Error, can not build an IPv4 address from an invalid string: ", file=../src/network/utils/ipv4-address.cc, line=68

This is likely due to the changeset 11754, that prevents from creating IPv4 addresses from empty strings (which is done in several places in the TapFdNetDeviceHelper).
Comment 1 Tommaso Pecorella 2016-04-15 17:54:33 UTC
Created attachment 2386 [details]
patch

Possible fix
Comment 2 alina 2016-04-16 08:16:26 UTC
(In reply to Tommaso Pecorella from comment #1)
> Created attachment 2386 [details]
> patch
> 
> Possible fix

Thank you airremi for reporting this bug and Tommaso for the fix.

The patch with Tommaso's fix is now committed in changeset 1b707e9dace1.