VirtualBox

Changeset 49541 in vbox


Ignore:
Timestamp:
Nov 19, 2013 1:47:16 AM (11 years ago)
Author:
vboxsync
Message:

Main/NATNetwork: Always do AddGlobalOption(DhcpOpt_Router,) to enforce connection dhcp server to connect Main.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/NATNetworkImpl.cpp

    r49516 r49541  
    914914                         Utf8Str(m->IPv4DhcpServerUpperIp.raw()).c_str()));
    915915
    916                 m->dhcpServer->AddGlobalOption(DhcpOpt_Router, m->IPv4Gateway.raw());
    917 
    918916                rc = m->dhcpServer->COMSETTER(Enabled)(true);
    919917
     
    938936                return E_FAIL;
    939937        }
     938
     939        /* XXX: AddGlobalOption(DhcpOpt_Router,) - enables attachement of DhcpServer to Main. */
     940        m->dhcpServer->AddGlobalOption(DhcpOpt_Router, m->IPv4Gateway.raw());
    940941
    941942        rc = m->dhcpServer->Start(mName.raw(), Bstr("").raw(), aTrunkType);
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