mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
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:
parent
e62ab7a153
commit
242acf3af4
4 changed files with 8 additions and 7 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue