Bug 1626

Summary: Ipv6-only network can't use UDP or TCP
Product: ns-3 Reporter: Tommaso Pecorella <tommaso.pecorella>
Component: ipv6Assignee: Tommaso Pecorella <tommaso.pecorella>
Status: RESOLVED FIXED    
Severity: critical CC: ns-bugs, tazaki
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: patch

Description Tommaso Pecorella 2013-04-16 17:18:34 UTC
Created attachment 1559 [details]
patch

The bug is in the InternetStackHelper.
Actually it does create the UDP and TCP stacks only if the network is *also* IPv4. In IPv6-only the stacks are not created.

The patch fixes this bug.
Comment 1 Tommaso Pecorella 2013-04-16 17:19:07 UTC
Please check the patch. On my machine all works as intended.
Comment 2 Tommaso Pecorella 2013-04-17 10:10:38 UTC
Any objections on pushing this ?

T.
Comment 3 Hajime Tazaki 2013-04-17 20:16:39 UTC
(In reply to comment #1)
> Please check the patch. On my machine all works as intended.

I'm fine with it. +1.
Comment 4 Tommaso Pecorella 2013-04-18 15:15:19 UTC
Fixed in changeset: 9695:e62d00344369