boot_net: Mute some TCP debug output
Trace packet dequeing only when asked to. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38483 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
6dfef7e9b2
commit
6c2e0f4377
@ -492,7 +492,7 @@ TCPSocket::_DequeuePacket()
|
||||
if (fFirstPacket == NULL)
|
||||
fLastPacket = NULL;
|
||||
packet->SetNext(NULL);
|
||||
dprintf("TCP: Dequeuing %lx - %lx from front.\n",
|
||||
TRACE("TCP: Dequeuing %lx - %lx from front.\n",
|
||||
packet->SequenceNumber(),
|
||||
packet->SequenceNumber() + packet->DataSize() - 1);
|
||||
return packet;
|
||||
@ -506,7 +506,7 @@ TCPSocket::_DequeuePacket()
|
||||
packet->SetNext(nextPacket->Next());
|
||||
if (fLastPacket == nextPacket)
|
||||
fLastPacket = packet;
|
||||
dprintf("TCP: Dequeuing %lx - %lx.\n",
|
||||
TRACE("TCP: Dequeuing %lx - %lx.\n",
|
||||
nextPacket->SequenceNumber(),
|
||||
nextPacket->SequenceNumber() + nextPacket->DataSize() - 1);
|
||||
return nextPacket;
|
||||
|
Loading…
Reference in New Issue
Block a user