Bug 1621

Summary: udp-echo-server application can't reply to IPv6 echo packets.
Product: ns-3 Reporter: kenta-mo
Component: applicationsAssignee: George Riley <riley>
Status: RESOLVED DUPLICATE    
Severity: normal CC: ns-bugs, tomh, tommaso.pecorella
Priority: P5    
Version: ns-3.16   
Hardware: Mac Intel   
OS: Mac OS   

Description kenta-mo 2013-04-10 03:58:09 UTC
======== log ========
assert failed. cond="address.CheckCompatible (GetType (), 6)", file=../src/network/utils/inet-socket-address.cc, line=111
libc++abi.dylib: terminate called without an active exception
====================

It's caused by wrong function call at line 160 and 179 in udp-echo-server.cc.
I propose using Inet6SocketAddress::ConvertFrom(const Address &addr) as debugging.
Comment 1 Tommaso Pecorella 2013-04-10 05:54:26 UTC
I believe this bug has been fixed already in ns-3-dev.

Changeset	Tag	Branch	User	Date	Summary	
9242:ecf60b8b269d		default	Tommaso Pecorella <tommaso.pecorella@unifi.it>	2013-02-19 20:20	Bug #1588 - UdpEchoServer::HandleRead logs fail when using IPv6
Comment 2 Tommaso Pecorella 2013-04-28 15:50:30 UTC
Marking as duplicate of Bug #1588.

The bug is, indeed, open for 3.16. However it's fixed in ns3-dev and will be fixed in 3.17.

*** This bug has been marked as a duplicate of bug 1588 ***