| Submitter | Stefan Hajnoczi |
|---|---|
| Date | June 8, 2011, 8:24 a.m. |
| Message ID | <1307521488-6066-4-git-send-email-stefanha@linux.vnet.ibm.com> |
| Download | mbox | patch |
| Permalink | /patch/99380/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/net/slirp.c b/net/slirp.c index e387a11..e057a14 100644 --- a/net/slirp.c +++ b/net/slirp.c @@ -614,7 +614,7 @@ static int slirp_guestfwd(SlirpState *s, const char *config_str, } fwd = qemu_malloc(sizeof(struct GuestFwd)); - snprintf(buf, sizeof(buf), "guestfwd.tcp:%d", port); + snprintf(buf, sizeof(buf), "guestfwd.tcp.%d", port); fwd->hd = qemu_chr_open(buf, p, NULL); if (!fwd->hd) { error_report("could not open guest forwarding device '%s'", buf);