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:
pbrook 2006-04-16 13:02:00 +00:00
parent ad06484063
commit 0f8134bfd6

View File

@ -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);