Revision ab1cbe1c net.c

b/net.c
1324 1324
    if (vc->info->link_status_changed) {
1325 1325
        vc->info->link_status_changed(vc);
1326 1326
    }
1327

  
1328
    /* Notify peer. Don't update peer link status: this makes it possible to
1329
     * disconnect from host network without notifying the guest.
1330
     * FIXME: is disconnected link status change operation useful?
1331
     *
1332
     * Current behaviour is compatible with qemu vlans where there could be
1333
     * multiple clients that can still communicate with each other in
1334
     * disconnected mode. For now maintain this compatibility. */
1335
    if (vc->peer && vc->peer->info->link_status_changed) {
1336
        vc->peer->info->link_status_changed(vc->peer);
1337
    }
1327 1338
    return 0;
1328 1339
}
1329 1340

  

Also available in: Unified diff