mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
Downgrade DNS failure to a warning.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1815 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
ad06484063
commit
0f8134bfd6
1 changed files with 2 additions and 2 deletions
|
@ -150,8 +150,8 @@ void slirp_init(void)
|
|||
inet_aton("127.0.0.1", &loopback_addr);
|
||||
|
||||
if (get_dns_addr(&dns_addr) < 0) {
|
||||
fprintf(stderr, "Could not get DNS address\n");
|
||||
exit(1);
|
||||
dns_addr = loopback_addr;
|
||||
fprintf (stderr, "Warning: No DNS servers found\n");
|
||||
}
|
||||
|
||||
inet_aton(CTL_SPECIAL, &special_addr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue