VirtualBox

Ignore:
Timestamp:
Jul 8, 2015 4:25:43 PM (9 years ago)
Author:
vboxsync
Message:

NetFlt/Win: small fix in debug logging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/win/drv/VBoxNetFltRt-win.cpp

    r56846 r56874  
    33033303void vboxNetFltWinNotifyHostAddress(PTA_ADDRESS pAddress, bool fAdded)
    33043304{
    3305 #ifdef DEBUG
    3306     char szBuf[128];
    3307 #endif /* DEBUG */
    33083305    void *pvAddr = NULL;
    33093306    INTNETADDRTYPE enmAddrType = kIntNetAddrType_Invalid;
     
    33233320            enmAddrType = kIntNetAddrType_IPv4;
    33243321        }
     3322        else
     3323            Log2(("vboxNetFltWinNotifyHostAddress: ignoring link-local address %RTnaipv4\n",
     3324                  pTdiAddrIp->in_addr));
    33253325    }
    33263326    else if (pAddress->AddressType == TDI_ADDRESS_TYPE_IP6)
     
    33323332            enmAddrType = kIntNetAddrType_IPv6;
    33333333        }
     3334        else
     3335            Log2(("vboxNetFltWinNotifyHostAddress: ignoring link-local address %RTnaipv6\n",
     3336                  pTdiAddrIp6->sin6_addr));
    33343337    }
    33353338    else
     
    33753378            Log2(("vboxNetFltWinNotifyHostAddress: no filters require notification\n"));
    33763379    }
    3377     else
    3378         Log2(("vboxNetFltWinNotifyHostAddress: ignoring link-local address (%s)\n", szBuf));
    33793380    LogFlow(("<==vboxNetFltWinNotifyHostAddress\n"));
    33803381}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette