Changeset 24285 in vbox for trunk/src/VBox
- Timestamp:
- Nov 3, 2009 10:57:41 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 54267
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DrvNetSniffer.cpp
r22460 r24285 399 399 int rc = CFGMR3QueryString(pCfgHandle, "File", pThis->szFilename, sizeof(pThis->szFilename)); 400 400 if (rc == VERR_CFGM_VALUE_NOT_FOUND) 401 RTStrPrintf(pThis->szFilename, sizeof(pThis->szFilename), "./VBox-%x.pcap", RTProcSelf()); 401 { 402 if (pDrvIns->iInstance > 0) 403 RTStrPrintf(pThis->szFilename, sizeof(pThis->szFilename), "./VBox-%x-%u.pcap", RTProcSelf(), pDrvIns->iInstance); 404 else 405 RTStrPrintf(pThis->szFilename, sizeof(pThis->szFilename), "./VBox-%x.pcap", RTProcSelf()); 406 } 407 402 408 else if (RT_FAILURE(rc)) 403 409 { … … 491 497 PDM_DRVREG_CLASS_NETWORK, 492 498 /* cMaxInstances */ 493 1,499 UINT32_MAX, 494 500 /* cbInstance */ 495 501 sizeof(DRVNETSNIFFER),
Note:
See TracChangeset
for help on using the changeset viewer.