qemu-e2k/net
Markus Armbruster e30e5eb613 slirp: Clean up net_slirp_hostfwd_remove()'s use of get_str_sep()
get_str_sep() can fail, but net_slirp_hostfwd_remove() doesn't check.
Works, because it initializes buf[] to "", which get_str_sep() doesn't
touch when it fails.  Coverity doesn't like it, and neither do I.

Change it to work exactly like slirp_hostfwd().

Acked-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
2011-11-22 11:11:23 +00:00
..
checksum.c
checksum.h
dump.c Use qemu-common.h or qemu-timer.h in place of sysemu.h 2011-04-15 18:25:44 +00:00
dump.h
queue.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
queue.h
slirp.c slirp: Clean up net_slirp_hostfwd_remove()'s use of get_str_sep() 2011-11-22 11:11:23 +00:00
slirp.h
socket.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
socket.h
tap-aix.c tap: add APIs for vnet header length 2010-09-07 20:27:33 +03:00
tap-bsd.c Fix network interface tap backend 2011-08-07 09:48:59 +00:00
tap-haiku.c tap: Add stub for Haiku 2010-10-03 06:31:41 +00:00
tap-linux.c net: tap-linux: Fix unhelpful error message 2011-11-01 06:23:48 +00:00
tap-linux.h tap: add APIs for vnet header length 2010-09-07 20:27:33 +03:00
tap-solaris.c tap: add APIs for vnet header length 2010-09-07 20:27:33 +03:00
tap-win32.c Fixing tap adapter for win32 2011-02-25 15:14:04 +00:00
tap.c Fix compilation warning due to missing header for sigaction (followup) 2011-06-08 09:04:29 +01:00
tap.h tap: add APIs for vnet header length 2010-09-07 20:27:33 +03:00
util.c
util.h
vde.c Remove unused sysemu.h include directives 2011-04-15 18:25:41 +00:00
vde.h