src/internet-stack/udp-socket-impl.cc
changeset 6170 21c9ea05058b
parent 6093 bf2ffaeca24f
child 6437 c11291f51d57
--- a/src/internet-stack/udp-socket-impl.cc	Wed Apr 07 16:42:47 2010 +0200
+++ b/src/internet-stack/udp-socket-impl.cc	Wed Apr 07 16:46:45 2010 +0200
@@ -414,6 +414,9 @@
     {
       m_udp->Send(p->Copy (), m_endPoint->GetLocalAddress(), dest,
                   m_endPoint->GetLocalPort(), port, 0);
+      NotifyDataSent (p->GetSize ());
+      NotifySend (GetTxAvailable ());
+      return p->GetSize();
     }
   else if (ipv4->GetRoutingProtocol () != 0)
     {