commit | 2ad82cf9e2c2adad874fbecabd48e1cf699b7c84 | [log] [tgz] |
---|---|---|
author | Jan Kiszka <jan.kiszka@siemens.com> | Wed Jun 24 14:42:28 2009 +0200 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Mon Jun 29 08:52:45 2009 -0500 |
tree | 40bb9e99f838c248e941642b4fd970fbb5db3263 | |
parent | c92ef6a22d3c71538fcc48fb61ad353f7ba03b62 [diff] |
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>