Fixing DHash large transfer default tip
authorHarjot Gill <gillh@seas.upenn.edu>
Tue, 29 Jun 2010 19:10:29 -0400
changeset 6000 9f7700096cc7
parent 5999 a8d77c56c7af
Fixing DHash large transfer
src/applications/chord-ipv4/dhash-connection.cc
--- a/src/applications/chord-ipv4/dhash-connection.cc	Sat May 22 21:19:04 2010 -0400
+++ b/src/applications/chord-ipv4/dhash-connection.cc	Tue Jun 29 19:10:29 2010 -0400
@@ -231,6 +231,7 @@
     }
   else
     {
+      m_currentRxBytes = m_currentRxBytes + packet->GetSize ();
       // concat received packet
       m_currentRxPacket->AddAtEnd (packet);
       availRxBytes = 0;