mirror of
https://github.com/open-simh/simh.git
synced 2026-01-13 07:20:12 +00:00
slirp: Fix slow/choppy data flow.
This commit is contained in:
parent
79f50fa6bb
commit
5c117caaed
@ -1651,6 +1651,7 @@ while (dev->handle) {
|
||||
#ifdef HAVE_SLIRP_NETWORK
|
||||
case ETH_API_NAT:
|
||||
sim_slirp_dispatch ((SLIRP*)dev->handle);
|
||||
status = 1;
|
||||
break;
|
||||
#endif /* HAVE_SLIRP_NETWORK */
|
||||
case ETH_API_UDP:
|
||||
|
||||
@ -320,6 +320,7 @@ struct redir_tcp_udp *rtmp;
|
||||
|
||||
if (slirp) {
|
||||
g_free (slirp->args);
|
||||
g_free (slirp->tftp_path);
|
||||
while ((rtmp = slirp->rtcp)) {
|
||||
slirp_remove_hostfwd(slirp->slirp, rtmp->is_udp, rtmp->inaddr, rtmp->lport);
|
||||
slirp->rtcp = rtmp->next;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user