Skip to content

Commit

Permalink
Downgrade DNS failure to a warning.
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1815 c046a42c-6fe2-441c-8c8c-71466251a162
  • Loading branch information
pbrook committed Apr 16, 2006
1 parent ad06484 commit 0f8134b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions slirp/slirp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0f8134b

Please sign in to comment.