Changeset 33825 in vbox for trunk/src/VBox/Main/SessionImpl.cpp
- Timestamp:
- Nov 8, 2010 10:16:25 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/SessionImpl.cpp
r33540 r33825 524 524 525 525 return mConsole->onNetworkAdapterChange(networkAdapter, changeAdapter); 526 } 527 528 STDMETHODIMP Session::OnNATRedirectRuleChange(INetworkAdapter *networkAdapter, BOOL aNatRuleRemove, IN_BSTR aRuleName, 529 NATProtocol_T aProto, IN_BSTR aHostIp, LONG aHostPort, IN_BSTR aGuestIp, LONG aGuestPort) 530 { 531 LogFlowThisFunc(("\n")); 532 533 AutoCaller autoCaller(this); 534 AssertComRCReturn(autoCaller.rc(), autoCaller.rc()); 535 536 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 537 AssertReturn(mState == SessionState_Locked, VBOX_E_INVALID_VM_STATE); 538 AssertReturn(mType == SessionType_WriteLock, VBOX_E_INVALID_OBJECT_STATE); 539 540 return mConsole->onNATRedirectRuleChange(networkAdapter, aNatRuleRemove, aRuleName, aProto, aHostIp, aHostPort, aGuestIp, aGuestPort); 526 541 } 527 542
Note:
See TracChangeset
for help on using the changeset viewer.