diff options
Diffstat (limited to 'qemu-monitor.hx')
-rw-r--r-- | qemu-monitor.hx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qemu-monitor.hx b/qemu-monitor.hx index e320f9f2f8..66c6ad9017 100644 --- a/qemu-monitor.hx +++ b/qemu-monitor.hx @@ -536,11 +536,11 @@ Remove host VLAN client. ETEXI #ifdef CONFIG_SLIRP - { "hostfwd_add", "s", net_slirp_hostfwd_add, - "[tcp|udp]:[hostaddr]:hostport-[guestaddr]:guestport", + { "hostfwd_add", "ss?s?", net_slirp_hostfwd_add, + "[vlan_id name] [tcp|udp]:[hostaddr]:hostport-[guestaddr]:guestport", "redirect TCP or UDP connections from host to guest (requires -net user)" }, - { "hostfwd_remove", "s", net_slirp_hostfwd_remove, - "[tcp|udp]:[hostaddr]:hostport", + { "hostfwd_remove", "ss?s?", net_slirp_hostfwd_remove, + "[vlan_id name] [tcp|udp]:[hostaddr]:hostport", "remove host-to-guest TCP or UDP redirection" }, #endif STEXI |