VirtualBox

Changeset 17442 in vbox for trunk


Ignore:
Timestamp:
Mar 6, 2009 7:06:18 AM (16 years ago)
Author:
vboxsync
Message:

VBoxNetDHCP: Use RTGETOPT_REQ_MACADDR.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/DHCP/VBoxNetDHCP.cpp

    r17403 r17442  
    359359        { "--name",           'N',   RTGETOPT_REQ_STRING },
    360360        { "--network",        'n',   RTGETOPT_REQ_STRING },
    361 /// @todo        { "--mac-address",    'a',   RTGETOPT_REQ_MACADDR },
     361        { "--mac-address",    'a',   RTGETOPT_REQ_MACADDR },
    362362        { "--ip-address",     'i',   RTGETOPT_REQ_IPV4ADDR },
    363363        { "--verbose",        'v',   RTGETOPT_REQ_NOTHING },
     
    393393                break;
    394394            case 'a':
    395 AssertFailed();
    396 //                m_MacAddress = Val.Mac;
     395                m_MacAddress = Val.MacAddr;
    397396                break;
    398397            case 'i':
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