Changeset 49492 in vbox for trunk/src/VBox
- Timestamp:
- Nov 15, 2013 10:12:01 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/NetworkServices/NetLib/VBoxNetBaseService.cpp
r49415 r49492 173 173 switch (rc) 174 174 { 175 case 'N': 175 case 'N': // --name 176 176 m_Name = Val.psz; 177 177 break; 178 case 'n': 178 179 case 'n': // --network 179 180 m_Network = Val.psz; 180 181 break; 181 case 't': 182 183 case 't': //--trunk-name 182 184 m_TrunkName = Val.psz; 183 185 break; 184 case 'T': 186 187 case 'T': //--trunk-type 185 188 if (!strcmp(Val.psz, "none")) 186 189 m_enmTrunkType = kIntNetTrunkType_None; … … 199 202 } 200 203 break; 201 case 'a': 204 205 case 'a': // --mac-address 202 206 m_MacAddress = Val.MacAddr; 203 207 break; 204 case 'i': 208 209 case 'i': // --ip-address 205 210 m_Ipv4Address = Val.IPv4Addr; 206 211 break; 207 case 'm': 208 m_Ipv4Netmask = Val.IPv4Addr; 209 break; 210 211 case 'v': 212 213 case 'm': // --netmask 214 m_Ipv4Netmask = Val.IPv4Addr; 215 break; 216 217 case 'v': // --verbose 212 218 m_cVerbosity++; 213 219 break; 214 220 215 case 'V': 221 case 'V': // --version (missed) 216 222 RTPrintf("%sr%u\n", RTBldCfgVersion(), RTBldCfgRevision()); 217 223 return 1; 218 224 219 case 'h': 225 case 'h': // --help (missed) 220 226 RTPrintf("%s Version %sr%u\n" 221 227 "(C) 2009-" VBOX_C_YEAR " " VBOX_VENDOR "\n"
Note:
See TracChangeset
for help on using the changeset viewer.