Revision ac60cc18

b/net.c
1305 1305
{
1306 1306
    VLANState *vlan;
1307 1307
    VLANClientState *vc;
1308
    int has_nic = 0, has_host_dev = 0;
1309 1308

  
1310 1309
    QTAILQ_FOREACH(vlan, &vlans, next) {
1310
        int has_nic = 0, has_host_dev = 0;
1311

  
1311 1312
        QTAILQ_FOREACH(vc, &vlan->clients, next) {
1312 1313
            switch (vc->info->type) {
1313 1314
            case NET_CLIENT_TYPE_NIC:

Also available in: Unified diff