From: Markus Armbruster Date: Thu, 11 Feb 2010 13:45:02 +0000 (+0100) Subject: net: Monitor command set_link finds only VLAN clients, fix X-Git-Tag: v0.12.3~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35924dbe8c3271e351a45905b612b2c259ebeb0d;p=thirdparty%2Fqemu.git net: Monitor command set_link finds only VLAN clients, fix Clients not associated with a VLAN exist since commit d80b9fc6. Signed-off-by: Markus Armbruster Signed-off-by: Anthony Liguori (cherry picked from commit 2583ba97ef1de6040b7d0afd2b66737515de5423) --- diff --git a/net.c b/net.c index fb89f9474c6..029b0d79bda 100644 --- a/net.c +++ b/net.c @@ -1243,6 +1243,7 @@ void do_set_link(Monitor *mon, const QDict *qdict) } } } + vc = qemu_find_netdev(name); done: if (!vc) {