slirp: Do not allow to remove non-hostfwd sockets
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 24 Jun 2009 12:42:29 +0000 (14:42 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 29 Jun 2009 13:52:46 +0000 (08:52 -0500)
commit9c12a6f24d8bfd0e0d81a4a77f515e32d15547c1
treea53e06d779f761417aa6ec1325047bfb7c317725
parent6dd5ffb661a4aec28c8296b1673abdf280038cf6
slirp: Do not allow to remove non-hostfwd sockets

Prevent that the users accidentally shoots down dynamic sockets. This
allows to remove looping for removals as there can now only be one
match.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
net.c
slirp/slirp.c