diff --git a/src/internet-node/tcp-socket.cc b/src/internet-node/tcp-socket.cc index 7321802e4..94fc976ee 100644 --- a/src/internet-node/tcp-socket.cc +++ b/src/internet-node/tcp-socket.cc @@ -664,7 +664,7 @@ bool TcpSocket::ProcessPacketAction (Actions_t a, Ptr p, case SERV_NOTIFY: NS_LOG_LOGIC ("TcpSocket " << this <<" Action SERV_NOTIFY"); NS_LOG_LOGIC ("TcpSocket " << this << " Connected!"); - NotifyConnectionSucceeded (); + NotifyNewConnectionCreated (this, fromAddress); m_connected = true; // ! This is bogus; fix when we clone the tcp m_endPoint->SetPeer (m_defaultAddress, m_defaultPort); //treat the connection orientation final ack as a newack