Changeset 28864 in vbox
- Timestamp:
- Apr 28, 2010 12:59:54 PM (15 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/NATEngineImpl.cpp
r28800 r28864 328 328 mData->mDnsUseHostResolver = data.fDnsUseHostResolver; 329 329 /* Alias */ 330 mData->mAliasMode |= (data.fAliasLog ? NATAliasMode_AliasLog: 0);331 mData->mAliasMode |= (data.fAlias ProxyOnly ? NATAliasMode_AliasProxyOnly: 0);332 mData->mAliasMode = (data.fAliasUseSamePorts ? NATAliasMode_AliasUseSamePorts: 0);330 mData->mAliasMode = (data.fAliasUseSamePorts ? NATAliasMode_AliasUseSamePorts : 0); 331 mData->mAliasMode |= (data.fAliasLog ? NATAliasMode_AliasLog : 0); 332 mData->mAliasMode |= (data.fAliasProxyOnly ? NATAliasMode_AliasProxyOnly : 0); 333 333 /* port forwarding */ 334 334 mNATRules.clear(); -
trunk/src/VBox/Main/include/NATEngineImpl.h
r28800 r28864 40 40 struct Data 41 41 { 42 Data(): mMtu(0), 43 mSockRcv(0), 44 mSockSnd(0), 45 mTcpRcv(0), 46 mTcpSnd(0), 47 mDnsPassDomain(TRUE), 48 mDnsProxy(FALSE), 49 mDnsUseHostResolver(FALSE) {} 42 Data() : mMtu(0), 43 mSockRcv(0), 44 mSockSnd(0), 45 mTcpRcv(0), 46 mTcpSnd(0), 47 mDnsPassDomain(TRUE), 48 mDnsProxy(FALSE), 49 mDnsUseHostResolver(FALSE), 50 mAliasMode(0) 51 {} 50 52 51 53 com::Utf8Str mNetwork; … … 65 67 BOOL mDnsUseHostResolver; 66 68 /* Alias service */ 67 ULONG 69 ULONG mAliasMode; 68 70 }; 69 71 VIRTUALBOXBASE_ADD_ERRORINFO_SUPPORT (NATEngine)
Note:
See TracChangeset
for help on using the changeset viewer.