VirtualBox

Ignore:
Timestamp:
Oct 3, 2012 5:38:33 AM (12 years ago)
Author:
vboxsync
Message:

Main/Metrics: Do not fail if unable to get speed (#6345)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/linux/NetIf-linux.cpp

    r43522 r43523  
    164164            int rc = NetIfAdpCtlOut(pszName, "speed", szBuf, sizeof(szBuf));
    165165            if (RT_SUCCESS(rc))
    166             {
    167166                pInfo->uSpeedMbytes = RTStrToUInt32(szBuf);
    168             }
    169167            else
    170                 return rc;
     168                pInfo->uSpeedMbytes = 0;
    171169        }
    172170    }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette