Revision a9899996 net/slirp.c
b/net/slirp.c | ||
---|---|---|
614 | 614 |
} |
615 | 615 |
|
616 | 616 |
fwd = qemu_malloc(sizeof(struct GuestFwd)); |
617 |
snprintf(buf, sizeof(buf), "guestfwd.tcp:%d", port);
|
|
617 |
snprintf(buf, sizeof(buf), "guestfwd.tcp.%d", port);
|
|
618 | 618 |
fwd->hd = qemu_chr_open(buf, p, NULL); |
619 | 619 |
if (!fwd->hd) { |
620 | 620 |
error_report("could not open guest forwarding device '%s'", buf); |
Also available in: Unified diff