Changeset 50156 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Jan 22, 2014 1:52:13 AM (11 years ago)
- Location:
- trunk/src/VBox/Devices/Network/slirp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/bootp.c
r48526 r50156 694 694 if (!pu8RawDhcpObject) 695 695 return; 696 /* 696 /** 697 697 * We're going update dns list at least once per DHCP transaction (!not on every operation 698 698 * within transaction), assuming that transaction can't be longer than 1 min. 699 * 700 * @note: NATState::fUseHostResolver became (r89055) the flag signalling that Slirp 701 * wasn't able to fetch fresh host DNS info and fall down to use host-resolver, on one 702 * of the previous attempts to proxy dns requests to Host's name-resolving API 703 * 704 * @note: Checking NATState::fUseHostResolver == true, we want to try restore behaviour initialy 705 * wanted by user ASAP (P here when host serialize its configuration in files parsed by Slirp). 699 706 */ 700 707 if ( !pData->fUseHostResolverPermanent 701 708 && ( pData->dnsLastUpdate == 0 702 || curtime - pData->dnsLastUpdate > 60 * 1000 703 || pData->fUseHostResolver)) /* one minute*/709 || curtime - pData->dnsLastUpdate > 60 * 1000 /* one minute */ 710 || pData->fUseHostResolver)) 704 711 { 705 712 uint8_t i = 2; /* i = 0 - tag, i == 1 - length */ -
trunk/src/VBox/Devices/Network/slirp/slirp_state.h
r49347 r50156 246 246 #endif 247 247 uma_zone_t zone_ext_refcnt; 248 /** 249 * in (r89055) using of this behaviour has been changed and mean that Slirp 250 * can't parse hosts strucutures/files to provide to guest host name-resolving 251 * configuration, instead Slirp provides .{interface-number + 1}.3 as a nameserver 252 * and proxies DNS queiries to Host's Name Resolver API. 253 */ 248 254 bool fUseHostResolver; 249 /** Flag whether using the host resolver mode is permanent 250 * because the user configured it that way. */ 255 /** 256 * Flag whether using the host resolver mode is permanent 257 * because the user configured it that way. 258 */ 251 259 bool fUseHostResolverPermanent; 252 260 /* from dnsproxy/dnsproxy.h*/
Note:
See TracChangeset
for help on using the changeset viewer.