Changeset 52900 in vbox for trunk/src/VBox
- Timestamp:
- Sep 30, 2014 3:27:11 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/win/HostDnsServiceWin.cpp
r52899 r52900 136 136 if (m_aWarehouse.size() > VBOX_OFFSET_TREE_EVENT) 137 137 releaseWarehouseItem(VBOX_OFFSET_TREE_EVENT); 138 138 139 139 /* Release shutdown event. */ 140 140 if (m_aWarehouse.size() > VBOX_OFFSET_SHUTDOWN_EVENT) … … 335 335 if (rc == ERROR_SUCCESS) 336 336 { 337 337 338 338 if (( _tcscmp(wcsValueName, _T("Domain")) == 0 339 339 || _tcscmp(wcsValueName, _T("DhcpDomain")) == 0) … … 359 359 } 360 360 } 361 361 362 362 uint8_t fChanged = VBOX_EVENT_NO_CHANGES; 363 363 /* Compare cached network settings and newly obtained ones. */ … … 372 372 fChanged |= VBOX_EVENT_SERVERS_CHANGED; 373 373 } 374 374 375 375 if (pHostDnsInfo.domain != m_hostInfoCache.domain) 376 376 { … … 382 382 fChanged |= VBOX_EVENT_DOMAIN_CHANGED; 383 383 } 384 384 385 385 if (pHostDnsInfo.searchList != m_hostInfoCache.searchList) 386 386 { … … 393 393 fChanged |= VBOX_EVENT_SEARCHLIST_CHANGED; 394 394 } 395 395 396 396 /* Provide info about changes if requested. */ 397 397 if (fWhatsChanged) … … 487 487 else 488 488 LogRel(("Monitor unstable: failed to unsubscribe from previous notifications.\n")); 489 489 490 490 /* If something went wrong, we break monitoring. */ 491 491 break; … … 497 497 { 498 498 Log2(("Network setting has changed at interface %ls.\n", m_aWarehouse[rc - WAIT_OBJECT_0].wcsInterface)); 499 499 500 500 /* Drop previous notifications first. */ 501 501 if (dropSubTreeNotifications())
Note:
See TracChangeset
for help on using the changeset viewer.