summary refs log tree commit diff stats
path: root/hw/net/vhost_net.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-06-16 16:47:49 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2014-09-02 22:38:16 +0400
commit70381662aa97b294f3c81a085ed143f37f0ab0cb (patch)
tree42ba5be1737ae9938cc96e4f4c8cb9c5279b2e13 /hw/net/vhost_net.c
parentecaf54a052c357e0bacb93c3f178fed34e4821ec (diff)
downloadfocaccia-qemu-70381662aa97b294f3c81a085ed143f37f0ab0cb.tar.gz
focaccia-qemu-70381662aa97b294f3c81a085ed143f37f0ab0cb.zip
slirp: Honour vlan/stack in hostfwd_remove commands
The hostfwd_add and hostfwd_remove monitor commands allow the user
to optionally specify a vlan/stack tuple. hostfwd_add honours this,
but hostfwd_remove does not (it looks up the tuple but then ignores
the SlirpState it has looked up and always uses the first stack
in the list anyway). Correct this to honour what the user requested.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/net/vhost_net.c')
0 files changed, 0 insertions, 0 deletions