Revision 61518a74
b/net/hub.c | ||
---|---|---|
97 | 97 |
continue; |
98 | 98 |
} |
99 | 99 |
|
100 |
if (!qemu_can_send_packet(&port->nc)) {
|
|
101 |
return 0;
|
|
100 |
if (qemu_can_send_packet(&port->nc)) { |
|
101 |
return 1;
|
|
102 | 102 |
} |
103 | 103 |
} |
104 | 104 |
|
105 |
return 1;
|
|
105 |
return 0;
|
|
106 | 106 |
} |
107 | 107 |
|
108 | 108 |
static ssize_t net_hub_port_receive(NetClientState *nc, |
Also available in: Unified diff