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 <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Markus Armbruster 2010-02-11 14:45:02 +01:00 committed by Anthony Liguori
parent a0104e0ec7
commit 2583ba97ef
1 changed files with 1 additions and 0 deletions

1
net.c
View File

@ -1243,6 +1243,7 @@ void do_set_link(Monitor *mon, const QDict *qdict)
}
}
}
vc = qemu_find_netdev(name);
done:
if (!vc) {