changeset 3846 | 265004d6dc15 |
parent 3820 | c04ecfdce1ef |
child 3956 | 0339a8ad5983 |
--- a/src/internet-stack/udp-socket-impl.cc Wed Nov 05 19:45:40 2008 -0800 +++ b/src/internet-stack/udp-socket-impl.cc Wed Nov 05 19:53:52 2008 -0800 @@ -157,7 +157,8 @@ if (!InetSocketAddress::IsMatchingType (address)) { NS_LOG_ERROR ("Not IsMatchingType"); - return ERROR_INVAL; + m_errno = ERROR_INVAL; + return -1; } InetSocketAddress transport = InetSocketAddress::ConvertFrom (address); Ipv4Address ipv4 = transport.GetIpv4 ();