aboutsummaryrefslogtreecommitdiff
path: root/slirp/libslirp.h
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2009-07-22 17:03:52 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-07-27 14:08:23 -0500
commitbb53fc5394201c0cbe3c89a1c9fa5fbd6a3b832c (patch)
tree6221237599839d4f1e5477329a8421a892ae3732 /slirp/libslirp.h
parent9dfd7c7a00dd700de36ca58005a7cb3934a62efb (diff)
downloadqemu-arm-bb53fc5394201c0cbe3c89a1c9fa5fbd6a3b832c.tar.gz
slirp: Fix guestfwd for incoming data
Unless a virtual server address was explicitly defined (which is impossible with the legacy -net channel format), guestfwd did not properly forwarded host->guest packets. This patch fixes it. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'slirp/libslirp.h')
-rw-r--r--slirp/libslirp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/slirp/libslirp.h b/slirp/libslirp.h
index 3bcc3923f3..93087ed74a 100644
--- a/slirp/libslirp.h
+++ b/slirp/libslirp.h
@@ -33,7 +33,7 @@ int slirp_add_hostfwd(Slirp *slirp, int is_udp,
int slirp_remove_hostfwd(Slirp *slirp, int is_udp,
struct in_addr host_addr, int host_port);
int slirp_add_exec(Slirp *slirp, int do_pty, const void *args,
- struct in_addr guest_addr, int guest_port);
+ struct in_addr *guest_addr, int guest_port);
void slirp_connection_info(Slirp *slirp, Monitor *mon);