SLiRP 64-bit fixes. Originally written by Gleb Natapov for QEMU.
This commit is contained in:
parent
03749ab0fb
commit
5a957e5d00
11 changed files with 156 additions and 233 deletions
|
|
@ -215,9 +215,8 @@ int slirp_select_fill(int *pnfds,
|
|||
* *_slowtimo needs calling if there are IP fragments
|
||||
* in the fragment queue, or there are TCP connections active
|
||||
*/
|
||||
do_slowtimo = ((tcb.so_next != &tcb) ||
|
||||
((struct ipasfrag *)&ipq != (struct ipasfrag *)ipq.next));
|
||||
|
||||
do_slowtimo = ((tcb.so_next != &tcb) || (&ipq.ip_link != ipq.ip_link.next));
|
||||
|
||||
for (so = tcb.so_next; (so != &tcb); so = so_next) {
|
||||
so_next = so->so_next;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue