Changeset 92135 in vbox for trunk/src/VBox
- Timestamp:
- Oct 28, 2021 11:55:06 AM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 147955
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r92133 r92135 5610 5610 switch (hrc) 5611 5611 { 5612 case VERR_ACCESS_DENIED:5612 case E_ACCESSDENIED: 5613 5613 return VMSetError(VMR3GetVM(mpUVM), VERR_HOSTIF_INIT_FAILED, RT_SRC_POS, N_( 5614 5614 "Failed to open '/dev/net/tun' for read/write access. Please check the " … … 5659 5659 5660 5660 # if defined(RT_OS_DARWIN) 5661 /* The name is on the form'ifX: long name', chop it off at the colon. */5661 /* The name is in the format 'ifX: long name', chop it off at the colon. */ 5662 5662 char szTrunk[INTNET_MAX_TRUNK_NAME]; 5663 5663 RTStrCopy(szTrunk, sizeof(szTrunk), pszBridgedIfName); … … 5682 5682 5683 5683 # elif defined(RT_OS_SOLARIS) 5684 /* The name is on the formformat 'ifX[:1] - long name, chop it off at space. */5684 /* The name is in the format 'ifX[:1] - long name, chop it off at space. */ 5685 5685 char szTrunk[256]; 5686 5686 strlcpy(szTrunk, pszBridgedIfName, sizeof(szTrunk));
Note:
See TracChangeset
for help on using the changeset viewer.