Changeset 107548 in vbox for trunk/src/VBox/Main/src-server
- Timestamp:
- Jan 8, 2025 7:54:13 PM (2 months ago)
- svn:sync-xref-src-repo-rev:
- 166619
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/VBox/Main/src-server/NATEngineImpl.cpp ¶
r106061 r107548 199 199 200 200 mData->m->fLocalhostReachable = false; /* Applies to new VMs only, see @bugref{9896} */ 201 mData->m->fForwardBroadcast = false; /* Applies to new VMs only. see @bugref{10268} */ 201 202 } 202 203 … … 464 465 } 465 466 467 HRESULT NATEngine::setForwardBroadcast(BOOL fForwardBroadcast) 468 { 469 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); 470 471 if (mData->m->fForwardBroadcast != RT_BOOL(fForwardBroadcast)) 472 { 473 mData->m.backup(); 474 mData->m->fForwardBroadcast = RT_BOOL(fForwardBroadcast); 475 mParent->i_setModified(Machine::IsModified_NetworkAdapters); 476 } 477 return S_OK; 478 } 479 480 HRESULT NATEngine::getForwardBroadcast(BOOL *pfForwardBroadcast) 481 { 482 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 483 *pfForwardBroadcast = mData->m->fForwardBroadcast; 484 return S_OK; 485 } 486 466 487 HRESULT NATEngine::setTFTPPrefix(const com::Utf8Str &aTFTPPrefix) 467 488 {
Note:
See TracChangeset
for help on using the changeset viewer.