VirtualBox

Changeset 76190 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
Dec 12, 2018 4:58:55 PM (6 years ago)
Author:
vboxsync
Message:

Main/DHCPServer: (bugref:9288) Added --comment command line option to simplify identification of VBoxNetDHCP instanced in the process list

File:
1 edited

Legend:

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

    r76132 r76190  
    4242const std::string DHCPServerRunner::kDsrKeyUpperIp = "--upper-ip";
    4343const std::string DHCPServerRunner::kDsrKeyConfig  = "--config";
     44const std::string DHCPServerRunner::kDsrKeyComment = "--comment";
    4445
    4546
     
    786787
    787788    m->dhcp.setOption(DHCPServerRunner::kDsrKeyConfig, m->tempConfigFileName);
     789    m->dhcp.setOption(DHCPServerRunner::kDsrKeyComment, m->networkName.c_str());
    788790#else /* !VBOX_WITH_DHCPD */
    789791    /* Main is needed for NATNetwork */
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