qemu-e2k/slirp
Jan Kiszka 2ad82cf9e2 slirp: Fix port comparision in slirp_remove_hostfwd
For UDP host forwardings, fport is not stable, every outgoing packet of
the redirection can modify it. Use getsockname instead to look up the
port that is actually used on the host side.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-06-29 08:52:45 -05:00
..
bootp.c slirp: Rework internal configuration 2009-06-29 08:52:45 -05:00
bootp.h
cksum.c
COPYRIGHT
debug.c
debug.h
icmp_var.h
if.c
if.h
ip_icmp.c slirp: Rework internal configuration 2009-06-29 08:52:45 -05:00
ip_icmp.h
ip_input.c slirp: Rework internal configuration 2009-06-29 08:52:45 -05:00
ip_output.c
ip.h
libslirp.h slirp: Rework external configuration interface 2009-06-29 08:52:45 -05:00
main.h slirp: Rework external configuration interface 2009-06-29 08:52:45 -05:00
mbuf.c
mbuf.h
misc.c slirp: Rework internal configuration 2009-06-29 08:52:45 -05:00
misc.h slirp: Rework internal configuration 2009-06-29 08:52:45 -05:00
sbuf.c
sbuf.h
slirp_config.h
slirp.c slirp: Fix port comparision in slirp_remove_hostfwd 2009-06-29 08:52:45 -05:00
slirp.h slirp: Rework internal configuration 2009-06-29 08:52:45 -05:00
socket.c slirp: Rework internal configuration 2009-06-29 08:52:45 -05:00
socket.h
tcp_input.c slirp: Rework internal configuration 2009-06-29 08:52:45 -05:00
tcp_output.c
tcp_subr.c slirp: Rework internal configuration 2009-06-29 08:52:45 -05:00
tcp_timer.c
tcp_timer.h
tcp_var.h
tcp.h
tcpip.h
tftp.c slirp: Move smb, redir, tftp and bootp parameters and -net channel 2009-06-29 08:52:44 -05:00
tftp.h
udp.c slirp: Rework internal configuration 2009-06-29 08:52:45 -05:00
udp.h