VirtualBox

Changeset 49672 in vbox


Ignore:
Timestamp:
Nov 27, 2013 2:05:28 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
90931
Message:

DHCPServerImpl.cpp: fixes regression introduced in r90887. Adding value for the option DhcpOpt_Router instructs DHCPServer to add --need-main command line parameter to the DHCP server runner.

File:
1 edited

Legend:

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

    r49644 r49672  
    245245
    246246    m.GlobalDhcpOptions.insert(DhcpOptValuePair(aOption, aValue));
     247   
     248    /* Indirect way to understand that we're on NAT network */
     249    if (aOption == DhcpOpt_Router)
     250        m.dhcp.setOption(NetworkServiceRunner::kNsrKeyNeedMain, "on");
     251   
    247252    alock.release();
    248253
Note: See TracChangeset for help on using the changeset viewer.

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