Changeset 43522 in vbox for trunk/src/VBox/Main/src-server
- Timestamp:
- Oct 3, 2012 4:44:37 AM (12 years ago)
- Location:
- trunk/src/VBox/Main/src-server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/generic/NetIf-generic.cpp
r43507 r43522 85 85 if (RT_FAILURE(rc)) 86 86 { 87 LogRel(("NetIfAdpCtl Stream: Failed to get program path, rc=%Rrc\n", rc));87 LogRel(("NetIfAdpCtlOut: Failed to get program path, rc=%Rrc\n", rc)); 88 88 return VERR_INVALID_PARAMETER; 89 89 } … … 97 97 else 98 98 { 99 LogRel(("NetIfAdpCtl Stream: Command line is too long: %s%s %s\n", szAdpCtl, pcszName, pcszCmd));99 LogRel(("NetIfAdpCtlOut: Command line is too long: %s%s %s\n", szAdpCtl, pcszName, pcszCmd)); 100 100 return VERR_INVALID_PARAMETER; 101 101 } … … 109 109 if (!strncmp(VBOXNETADPCTL_NAME ":", pszBuffer, sizeof(VBOXNETADPCTL_NAME))) 110 110 { 111 LogRel(("NetIfAdpCtl Stream: %s", pszBuffer));111 LogRel(("NetIfAdpCtlOut: %s", pszBuffer)); 112 112 rc = VERR_INTERNAL_ERROR; 113 113 } … … 115 115 else 116 116 { 117 LogRel(("NetIfAdpCtl Stream: No output from " VBOXNETADPCTL_NAME));117 LogRel(("NetIfAdpCtlOut: No output from " VBOXNETADPCTL_NAME)); 118 118 rc = VERR_INTERNAL_ERROR; 119 119 } -
trunk/src/VBox/Main/src-server/linux/NetIf-linux.cpp
r43507 r43522 162 162 { 163 163 /* Failed to get speed via sysfs, go to plan B. */ 164 int rc = NetIfAdpCtlOut(pszName, " info", szBuf, sizeof(szBuf));164 int rc = NetIfAdpCtlOut(pszName, "speed", szBuf, sizeof(szBuf)); 165 165 if (RT_SUCCESS(rc)) 166 166 {
Note:
See TracChangeset
for help on using the changeset viewer.