mirror of
https://github.com/reactos/reactos.git
synced 2025-04-19 12:08:55 +00:00
Make packet printing obey debug bits.
svn path=/trunk/; revision=11875
This commit is contained in:
parent
3fcb2d5efc
commit
38ac0afdbb
1 changed files with 4 additions and 5 deletions
|
@ -67,11 +67,10 @@ VOID
|
|||
MiniDisplayPacket(
|
||||
PNDIS_PACKET Packet)
|
||||
{
|
||||
//#ifdef DBG
|
||||
#if 0
|
||||
#ifdef DBG
|
||||
ULONG i, Length;
|
||||
UCHAR Buffer[64];
|
||||
if ((DebugTraceLevel | DEBUG_PACKET) > 0) {
|
||||
if ((DebugTraceLevel & DEBUG_PACKET) > 0) {
|
||||
Length = CopyPacketToBuffer(
|
||||
(PUCHAR)&Buffer,
|
||||
Packet,
|
||||
|
@ -99,7 +98,7 @@ MiniDisplayPacket2(
|
|||
UINT LookaheadBufferSize)
|
||||
{
|
||||
#ifdef DBG
|
||||
if ((DebugTraceLevel | DEBUG_PACKET) > 0) {
|
||||
if ((DebugTraceLevel & DEBUG_PACKET) > 0) {
|
||||
ULONG i, Length;
|
||||
PUCHAR p;
|
||||
|
||||
|
|
Loading…
Reference in a new issue