Changeset 54011 in vbox
- Timestamp:
- Jan 28, 2015 12:45:53 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 97919
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/slirp_dns.c
r53624 r54011 164 164 rc = rcp_parse(&st, RESOLV_CONF_FILE); 165 165 166 /* for historical reasons: Slirp returns 0 and fall down to host resolver if wasn't able open resolv.conf file */ 167 if(rc == -1) 168 { 169 pData->fUseHostResolver = 1; 170 return 0; 171 } 166 if (rc < 0) 167 return -1; 172 168 173 169 /* for historical reasons: Slirp returns -1 if no nameservers were found */ … … 198 194 LogRel(("NAT: DNS server %RTnaipv4 registration detected, switching to the DNS proxy\n", address->IPv4)); 199 195 pData->fUseDnsProxy = 1; 200 pData->fUseHostResolver = 0;201 196 } 202 197 }
Note:
See TracChangeset
for help on using the changeset viewer.