Changeset 17812 in vbox
- Timestamp:
- Mar 13, 2009 12:15:11 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/NetworkServices/DHCP/VBoxNetDHCP.cpp
r17786 r17812 398 398 RTMAC m_MacAddress; 399 399 RTNETADDRIPV4 m_Ipv4Address; 400 std::string m_LeaseDBName; 400 401 /** @} */ 401 402 … … 529 530 memset(&m_CurHdrs, '\0', sizeof(m_CurHdrs)); 530 531 531 #if 1 /* while hacking. */532 #if 0 /* enable to hack the code without a mile long argument list. */ 532 533 VBoxNetDhcpCfg *pDefCfg = new VBoxNetDhcpCfg(); 533 534 pDefCfg->m_LowerAddr.u = RT_H2N_U32_C(RT_BSWAP_U32_C(RT_MAKE_U32_FROM_U8( 10, 0, 2,100))); … … 690 691 { "--mac-address", 'a', RTGETOPT_REQ_MACADDR }, 691 692 { "--ip-address", 'i', RTGETOPT_REQ_IPV4ADDR }, 693 { "--lease-db", 'D', RTGETOPT_REQ_STRING }, 692 694 { "--verbose", 'v', RTGETOPT_REQ_NOTHING }, 693 695 … … 726 728 case 'i': 727 729 m_Ipv4Address = Val.IPv4Addr; 730 break; 731 case 'd': 732 m_LeaseDBName = Val.psz; 728 733 break; 729 734
Note:
See TracChangeset
for help on using the changeset viewer.