Changeset 43015 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Aug 27, 2012 10:08:53 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 80349
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DrvTAP.cpp
r40282 r43015 492 492 493 493 RTStrPrintf(szCommand, sizeof(szCommand), "%s %s", pThis->pszSetupApplication, 494 pThis->fStatic ? pThis->pszDeviceName : "");494 pThis->fStatic ? pThis->pszDeviceName : ""); 495 495 496 496 /* Pipe open the setup application. */ … … 647 647 648 648 ifReq.lifr_ppa = iPPA; 649 RTStr Printf(ifReq.lifr_name, sizeof(ifReq.lifr_name), pThis->pszDeviceName);649 RTStrCopy(ifReq.lifr_name, sizeof(ifReq.lifr_name), pThis->pszDeviceName); 650 650 651 651 if (ioctl(InterfaceFD, SIOCSLIFNAME, &ifReq) == -1) … … 710 710 /* Reuse ifReq */ 711 711 memset(&ifReq, 0, sizeof(ifReq)); 712 RTStr Printf(ifReq.lifr_name, sizeof(ifReq.lifr_name), pThis->pszDeviceName);712 RTStrCopy(ifReq.lifr_name, sizeof(ifReq.lifr_name), pThis->pszDeviceName); 713 713 ifReq.lifr_ip_muxid = IPMuxID; 714 714 #ifdef VBOX_SOLARIS_TAP_ARP
Note:
See TracChangeset
for help on using the changeset viewer.