VirtualBox

Changeset 48987 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
Oct 9, 2013 3:59:04 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
89705
Message:

NetworkAdapterImpl.cpp: revert r89338 (partly). No need to touch NAT network ref counts on bridged, host-only and internal network touch.

File:
1 edited

Legend:

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

    r48973 r48987  
    554554        }
    555555
    556         alock.release();
    557 
    558         HRESULT hrc = checkAndSwitchFromNatNetworking();
    559         if (FAILED(hrc))
    560             return hrc;
    561 
    562         alock.acquire();
    563 
    564556        mData.backup();
    565557        mData->mBridgedInterface = aBridgedInterface;
     
    622614        }
    623615
    624         alock.release();
    625 
    626         HRESULT hrc = checkAndSwitchFromNatNetworking();
    627         if (FAILED(hrc))
    628             return hrc;
    629 
    630         alock.acquire();
    631 
    632616        mData.backup();
    633617        mData->mHostOnlyInterface = aHostOnlyInterface;
     
    685669                            tr("Empty or null internal network name is not valid"));
    686670        }
    687 
    688         alock.release();
    689 
    690         HRESULT hrc = checkAndSwitchFromNatNetworking();
    691         if (FAILED(hrc))
    692             return hrc;
    693 
    694         alock.acquire();
    695671
    696672        mData.backup();
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