slirp: fix guestfwd id
commita9899996c8bc8eb7686f64207ef2ce1137dd125b
authorAlexander Graf <agraf@suse.de>
Sat, 4 Jun 2011 05:25:59 +0000 (4 07:25 +0200)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Wed, 8 Jun 2011 08:04:29 +0000 (8 09:04 +0100)
tree145959ae0776e38a8bc3c668a1682df7ad914d5b
parent9bf0960a9adb93c38b879a2114f6c67e30427307
slirp: fix guestfwd id

When using -net user,guestfwd=... Qemu immediately complains about the id
being in invalid format. This is because we pass in an id that contains a
colon, while the id restrictions don't allow colons.

This patch changes the colon into a dot, making guestfwd work again.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
net/slirp.c