vbox的更動 54671 路徑 trunk/src/VBox/NetworkServices
- 時間撮記:
- 2015-3-6 下午04:55:29 (10 年 以前)
- 位置:
- trunk/src/VBox/NetworkServices
- 檔案:
-
- 修改 2 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/NetworkServices/DHCP/VBoxNetDHCP.cpp
r54504 r54671 519 519 ComEventTypeArray aVBoxEvents; 520 520 aVBoxEvents.push_back(VBoxEventType_OnHostNameResolutionConfigurationChange); 521 aVBoxEvents.push_back(VBoxEventType_OnNATNetworkStartStop); 521 522 rc = createNatListener(m_vboxListener, virtualbox, this, aVBoxEvents); 522 523 AssertRCReturn(rc, rc); … … 596 597 fetchAndUpdateDnsInfo(); 597 598 break; 599 600 case VBoxEventType_OnNATNetworkStartStop: 601 { 602 ComPtr <INATNetworkStartStopEvent> pStartStopEvent = pEvent; 603 BOOL fStart = TRUE; 604 HRESULT hrc = pStartStopEvent->COMGETTER(StartEvent)(&fStart); 605 if (!fStart) 606 shutdown(); 607 break; 608 } 598 609 } 599 610 -
trunk/src/VBox/NetworkServices/NAT/VBoxNetLwipNAT.cpp
r50494 r54671 389 389 break; 390 390 } 391 392 case VBoxEventType_OnNATNetworkStartStop: 393 { 394 ComPtr <INATNetworkStartStopEvent> pStartStopEvent = pEvent; 395 BOOL fStart = TRUE; 396 hrc = pStartStopEvent->COMGETTER(StartEvent)(&fStart); 397 if (!fStart) 398 shutdown(); 399 break; 400 } 391 401 } 392 402 return hrc; … … 784 794 ComEventTypeArray aVBoxEvents; 785 795 aVBoxEvents.push_back(VBoxEventType_OnHostNameResolutionConfigurationChange); 796 aVBoxEvents.push_back(VBoxEventType_OnNATNetworkStartStop); 786 797 rc = createNatListener(m_vboxListener, virtualbox, this, aVBoxEvents); 787 798 AssertRCReturn(rc, rc);
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器