- Timestamp:
- Apr 25, 2008 6:55:11 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl2.cpp
r8368 r8375 1218 1218 { 1219 1219 hrc = networkAdapter->COMGETTER(InternalNetwork)(&str); H(); 1220 STR_CONV(); 1221 if (psz && *psz) 1220 if (str) 1222 1221 { 1223 if (fSniffer) 1222 STR_CONV(); 1223 if (psz && *psz) 1224 1224 { 1225 rc = CFGMR3InsertNode(pLunL0, "AttachedDriver", &pLunL0); RC_CHECK(); 1225 if (fSniffer) 1226 { 1227 rc = CFGMR3InsertNode(pLunL0, "AttachedDriver", &pLunL0); RC_CHECK(); 1228 } 1229 else 1230 { 1231 rc = CFGMR3InsertNode(pInst, "LUN#0", &pLunL0); RC_CHECK(); 1232 } 1233 rc = CFGMR3InsertString(pLunL0, "Driver", "IntNet"); RC_CHECK(); 1234 rc = CFGMR3InsertNode(pLunL0, "Config", &pCfg); RC_CHECK(); 1235 rc = CFGMR3InsertString(pCfg, "Network", psz); RC_CHECK(); 1226 1236 } 1227 else 1228 { 1229 rc = CFGMR3InsertNode(pInst, "LUN#0", &pLunL0); RC_CHECK(); 1230 } 1231 rc = CFGMR3InsertString(pLunL0, "Driver", "IntNet"); RC_CHECK(); 1232 rc = CFGMR3InsertNode(pLunL0, "Config", &pCfg); RC_CHECK(); 1233 rc = CFGMR3InsertString(pCfg, "Network", psz); RC_CHECK(); 1237 STR_FREE(); 1234 1238 } 1235 STR_FREE();1236 1239 break; 1237 1240 }
Note:
See TracChangeset
for help on using the changeset viewer.