some small changes to get nethogs into a more releaseable state again

This commit is contained in:
Arnout Engelen
2008-06-08 20:49:49 +00:00
parent c0e6a385e4
commit b8cbc9b6f5
5 changed files with 17 additions and 6 deletions

View File

@@ -146,7 +146,10 @@ void Connection::add (Packet * packet)
std::cout << "Incoming: " << packet->len << std::endl;
}
sumRecv += packet->len;
std::cout << "sumRecv now: " << sumRecv << std::endl;
if (DEBUG)
{
std::cout << "sumRecv now: " << sumRecv << std::endl;
}
recv_packets->add (packet);
}
}