aboutsummaryrefslogtreecommitdiff
path: root/slirp
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-04-16 13:02:00 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-04-16 13:02:00 +0000
commit0f8134bfd62a26d44b031723109f26660c995241 (patch)
tree8b26e3b4a99a94069c7c03dc3450871cb821cacd /slirp
parentad06484063972abdf3f426412af9aa101bea26a8 (diff)
Downgrade DNS failure to a warning.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1815 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'slirp')
-rw-r--r--slirp/slirp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/slirp/slirp.c b/slirp/slirp.c
index 28b8c887a4..a7d3f69119 100644
--- a/slirp/slirp.c
+++ b/slirp/slirp.c
@@ -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);