* replaced a couple of unconditional dprintf()s with TRACEs

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26517 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Tappe 2008-07-19 22:31:20 +00:00
parent 4d6c666d22
commit 14eaa7b61d

View File

@ -583,9 +583,9 @@ send_fragments(ipv4_protocol *protocol, struct net_route *route,
// adapt MTU to be a multiple of 8 (fragment offsets can only be specified this way)
mtu -= headerLength;
mtu &= ~7;
dprintf(" adjusted MTU to %ld\n", mtu);
TRACE(" adjusted MTU to %ld\n", mtu);
dprintf(" bytesLeft = %ld\n", bytesLeft);
TRACE(" bytesLeft = %ld\n", bytesLeft);
while (bytesLeft > 0) {
uint32 fragmentLength = min_c(bytesLeft, mtu);
bytesLeft -= fragmentLength;
@ -598,7 +598,7 @@ send_fragments(ipv4_protocol *protocol, struct net_route *route,
header->checksum = gStackModule->checksum((uint8 *)header, headerLength);
// TODO: compute the checksum only for those parts that changed?
dprintf(" send fragment of %ld bytes (%ld bytes left)\n", fragmentLength, bytesLeft);
TRACE(" send fragment of %ld bytes (%ld bytes left)\n", fragmentLength, bytesLeft);
net_buffer *fragmentBuffer;
if (!lastFragment) {