Revision 60c07d93 net.c
b/net.c | ||
---|---|---|
411 | 411 |
} |
412 | 412 |
|
413 | 413 |
/* no can_receive() handler, they can always receive */ |
414 |
if (!vc->info->can_receive || vc->info->can_receive(vc)) {
|
|
415 |
return 1;
|
|
414 |
if (vc->info->can_receive && !vc->info->can_receive(vc)) {
|
|
415 |
return 0;
|
|
416 | 416 |
} |
417 | 417 |
} |
418 |
return 0;
|
|
418 |
return 1;
|
|
419 | 419 |
} |
420 | 420 |
|
421 | 421 |
static ssize_t qemu_deliver_packet(VLANClientState *sender, |
Also available in: Unified diff