From 14eaa7b61daa48bbe71e8db119aff667eaf95ebc Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Sat, 19 Jul 2008 22:31:20 +0000 Subject: [PATCH] * 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 --- src/add-ons/kernel/network/protocols/ipv4/ipv4.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/add-ons/kernel/network/protocols/ipv4/ipv4.cpp b/src/add-ons/kernel/network/protocols/ipv4/ipv4.cpp index ca15d3580a..f50c8634e1 100644 --- a/src/add-ons/kernel/network/protocols/ipv4/ipv4.cpp +++ b/src/add-ons/kernel/network/protocols/ipv4/ipv4.cpp @@ -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) {