VirtualBox

Ignore:
Timestamp:
Jul 6, 2019 11:42:51 PM (5 years ago)
Author:
vboxsync
Message:

Dhcpd: Went over the DhcpMessage a little as well as revisiting the lease reading code in the database. Logging is LogRel() or similar, no cout, RTPrintf or similar. The debug & release loggers can both output to stderr/out/whatever as needed. bugref:9288

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/Dhcpd/IPv4Pool.cpp

    r79563 r79568  
    7676        if (a_Range.FirstAddr <= prev->LastAddr)
    7777        {
    78             LogDHCP(("%08x-%08x conflicts with %08x-%08x\n",
     78            LogRel(("%08x-%08x conflicts with %08x-%08x\n",
    7979                     a_Range.FirstAddr, a_Range.LastAddr,
    8080                     prev->FirstAddr, prev->LastAddr));
     
    127127            IPv4Range trimmed = *itBeg;
    128128            trimmed.FirstAddr += 1;
     129            Assert(trimmed.FirstAddr <= trimmed.LastAddr);
    129130            m_pool.erase(itBeg);
    130131            try
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