VirtualBox

Changeset 79736 in vbox


Ignore:
Timestamp:
Jul 12, 2019 1:05:39 PM (6 years ago)
Author:
vboxsync
Message:

Main: Redoing the IDHCPServer interface, part I. [build fix] bugref:9288

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/xml/Settings.cpp

    r79732 r79736  
    17271727
    17281728        /* We don't want duplicate validation check of networkMask here*/
    1729         if (srv.GlobalConfig.OptionMap.size() > (itOpt != srv.GlobalConfig.OptionMap.end() ? 1 : 0))
     1729        if (srv.GlobalConfig.OptionMap.size() > (itOpt != srv.GlobalConfig.OptionMap.end() ? 1U : 0U))
    17301730        {
    17311731            xml::ElementNode *pElmOptions = pElmThis->createChild("Options");
     
    18031803                const xml::ElementNode *pElmOptions;
    18041804                xml::NodesLoop          nlOptions(*pelmServer, "Options");
    1805                 while ((pElmOptions = nlOptions.forAllNodes()) != NULL) /** @todo this loop makes no sense, there can only be one <Options> child. */
     1805                while ((pElmOptions = nlOptions.forAllNodes()) != NULL) /** @todo this loop makes no sense, there can only be one \<Options\> child. */
    18061806                    readDHCPOptions(srv.GlobalConfig, *pElmOptions, true /*fIgnoreSubnetMask*/);
    18071807
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