VirtualBox

Changeset 12393 in vbox


Ignore:
Timestamp:
Sep 11, 2008 7:25:47 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
36442
Message:

Number of interfaces.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxService/VBoxVMInfoNet.cpp

    r12392 r12393  
    4141
    4242    RTStrPrintf(szPropPath, sizeof(szPropPath), "GuestInfo/Net/Count");
    43     vboxVMInfoWritePropInt(a_pCtx, szPropPath, nNumInterfaces);
     43    vboxVMInfoWritePropInt(a_pCtx, szPropPath, (nNumInterfaces > 1 ? nNumInterfaces-1 : 0));
    4444
    4545    dwCurIface = 0;
Note: See TracChangeset for help on using the changeset viewer.

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