From c1261d8d1617d8cf5722039a59ebb66c310f3aea Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Tue, 26 May 2009 13:03:26 +0200 Subject: User Networking: Enable removal of redirections Using the new host_net_redir command you can easily create redirections on the fly while your VM is running. While that's great, it's missing the removal of redirections, in case you want to have a port closed again at a later point in time. This patch adds support for removal of redirections. Signed-off-by: Alexander Graf Signed-off-by: Anthony Liguori --- net.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net.h') diff --git a/net.h b/net.h index 41a3082ce8..feee021f78 100644 --- a/net.h +++ b/net.h @@ -112,7 +112,7 @@ int net_client_init(const char *device, const char *p); void net_client_uninit(NICInfo *nd); int net_client_parse(const char *str); void net_slirp_smb(const char *exported_dir); -void net_slirp_redir(Monitor *mon, const char *redir_str); +void net_slirp_redir(Monitor *mon, const char *redir_str, const char *redir_opt2); void net_cleanup(void); int slirp_is_inited(void); void net_client_check(void); -- cgit v1.2.1