Special-case CTL_ALIAS instead of CTL_DNS in udp loopback test.

At the same time remove a bogus test (tested by Jason Wessel).
Quiet some gcc4 warnings from slirp compilation.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4402 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
balrog 2008-05-10 01:49:53 +00:00
parent e62ab7a153
commit 242acf3af4
4 changed files with 8 additions and 7 deletions

View file

@ -304,7 +304,7 @@ fork_exec(struct socket *so, const char *ex, int do_pty)
{
int s;
struct sockaddr_in addr;
int addrlen = sizeof(addr);
socklen_t addrlen = sizeof(addr);
int opt;
int master = -1;
char *argv[256];