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

@ -291,7 +291,7 @@ if_start(void)
}
/* Encapsulate the packet for sending */
if_encap(ifm->m_data, ifm->m_len);
if_encap((uint8_t *)ifm->m_data, ifm->m_len);
m_free(ifm);