Patchwork [6/6] net: Monitor command set_link finds only VLAN clients, fix

login
register
mail settings
Submitter Markus Armbruster
Date Feb. 11, 2010, 1:45 p.m.
Message ID <1265895902-15664-7-git-send-email-armbru@redhat.com>
Download mbox | patch
Permalink /patch/45127/
State New
Headers show

Comments

Markus Armbruster - Feb. 11, 2010, 1:45 p.m.
Clients not associated with a VLAN exist since commit d80b9fc6.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
 net.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/net.c b/net.c
index fb89f94..029b0d7 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) {