VirtualBox

Changeset 17985 in vbox for trunk/src/VBox/Main/win


Ignore:
Timestamp:
Mar 16, 2009 10:02:09 PM (16 years ago)
Author:
vboxsync
Message:

NetIf/win: clear static ip impl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/win/NetIfList-win.cpp

    r17984 r17985  
    803803                if(SUCCEEDED(hr))
    804804                {
    805                     hr = netIfWinEnableStaticV4(pSvc, ObjPath, aIp, aMask, 1);
     805                    hr = netIfWinEnableStaticV4(pSvc, ObjPath, aIp, aMask, ip != 0 ? 1 : 0);
    806806                    if(SUCCEEDED(hr))
    807807                    {
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