diff options
| author | Peter Maydell | 2014-06-16 17:47:11 +0200 |
|---|---|---|
| committer | Michael Tokarev | 2014-07-18 15:45:36 +0200 |
| commit | b739ef05dbaffcaade5e756a70f91cdf9c327154 (patch) | |
| tree | 9c84251b0460348ce9d35c359a98429f4496ee19 /include | |
| parent | Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging (diff) | |
| download | qemu-b739ef05dbaffcaade5e756a70f91cdf9c327154.tar.gz qemu-b739ef05dbaffcaade5e756a70f91cdf9c327154.tar.xz qemu-b739ef05dbaffcaade5e756a70f91cdf9c327154.zip | |
slirp: Give error message if hostfwd_add/remove for unrecognized vlan/stack
If the user specified a (vlan ID, slirp stack name) tuple in a monitor
hostfwd_add/remove command and we can't find it, give the user an
error message rather than silently doing nothing.
This brings this error case in slirp_lookup() into line with the
other two.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
