VirtualBox

Changeset 65601 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Feb 3, 2017 1:39:24 PM (8 years ago)
Author:
vboxsync
Message:

FE/Qt: Global properties: Network page: Host-only networks tab: Check the DHCP settings save result, raise the error if falied.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsNetwork.cpp

    r64778 r65601  
    11741174        RTNetIsIPv4AddrStr(data.m_dhcpserver.m_strDhcpLowerAddress.toUtf8().constData()) &&
    11751175        RTNetIsIPv4AddrStr(data.m_dhcpserver.m_strDhcpUpperAddress.toUtf8().constData()))
     1176    {
    11761177        dhcp.SetConfiguration(data.m_dhcpserver.m_strDhcpServerAddress, data.m_dhcpserver.m_strDhcpServerMask,
    11771178                              data.m_dhcpserver.m_strDhcpLowerAddress, data.m_dhcpserver.m_strDhcpUpperAddress);
     1179        if (!dhcp.isOk())
     1180            emit sigOperationProgressError(UIMessageCenter::formatErrorInfo(dhcp));
     1181    }
    11781182}
    11791183
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