summaryrefslogtreecommitdiffstats
path: root/net.h
diff options
context:
space:
mode:
authorJan Kiszka2009-06-24 14:42:28 +0200
committerAnthony Liguori2009-06-29 15:52:45 +0200
commit2ad82cf9e2c2adad874fbecabd48e1cf699b7c84 (patch)
tree40bb9e99f838c248e941642b4fd970fbb5db3263 /net.h
parentslirp: Rework external configuration interface (diff)
downloadqemu-2ad82cf9e2c2adad874fbecabd48e1cf699b7c84.tar.gz
qemu-2ad82cf9e2c2adad874fbecabd48e1cf699b7c84.tar.xz
qemu-2ad82cf9e2c2adad874fbecabd48e1cf699b7c84.zip
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>
Diffstat (limited to 'net.h')
0 files changed, 0 insertions, 0 deletions