VirtualBox

Changeset 67792 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Jul 5, 2017 11:30:48 AM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
116711
Message:

Main/NetworkAdapterImpl: fixed another case with wrong NAT/DHCP refcounting: don't change the NAT refcount if the current networking mode is not 'NAT network'. This happens for instance if we change the adapter type from something else to 'NAT network' in the GUI and at the same time change the NAT network name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/NetworkAdapterImpl.h

    r66940 r67792  
    112112    HRESULT i_updateMacAddress(Utf8Str aMacAddress);
    113113    void i_updateBandwidthGroup(BandwidthGroup *aBwGroup);
    114     HRESULT i_checkAndSwitchFromNatNetworking(com::Utf8Str networkName);
     114    HRESULT i_switchFromNatNetworking(const com::Utf8Str &aNatnetworkName);
    115115    HRESULT i_switchToNatNetworking(const com::Utf8Str &aNatNetworkName);
    116116
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