diff options
author | Jan Kiszka <jan.kiszka@web.de> | 2009-06-24 14:42:28 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-06-29 08:52:45 -0500 |
commit | 3c6a05803c8f33b2ce6f704df87c98983029befd (patch) | |
tree | 53ef642f8baac03fe0d8518bd263da3ded64987b /net.h | |
parent | f3546deb079fd9e069870b9fd2f22bb48d5c8254 (diff) | |
download | qemu-3c6a05803c8f33b2ce6f704df87c98983029befd.tar.gz qemu-3c6a05803c8f33b2ce6f704df87c98983029befd.tar.bz2 qemu-3c6a05803c8f33b2ce6f704df87c98983029befd.zip |
slirp: Bind support for host forwarding rules
Extend the hostfwd rule format so that the user can specify on which
host interface qemu should listen for incoming connections. If omitted,
binding will takes place against all interfaces.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'net.h')
-rw-r--r-- | net.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -133,7 +133,7 @@ void net_client_uninit(NICInfo *nd); int net_client_parse(const char *str); void net_slirp_smb(const char *exported_dir); void net_slirp_hostfwd_add(Monitor *mon, const char *redir_str); -void net_slirp_hostfwd_remove(Monitor *mon, const char *port_str); +void net_slirp_hostfwd_remove(Monitor *mon, const char *src_str); void net_slirp_redir(const char *redir_str); void net_cleanup(void); int slirp_is_inited(void); |