mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-22 13:31:08 +00:00
fixed indentation ether_unix
This commit is contained in:
parent
cf406ec953
commit
2bc581d4f6
@ -998,7 +998,7 @@ void ether_do_interrupt(void)
|
|||||||
if (net_if_type == NET_IF_VDE) {
|
if (net_if_type == NET_IF_VDE) {
|
||||||
length = vde_recv(vde_conn, Mac2HostAddr(packet), 1514, 0);
|
length = vde_recv(vde_conn, Mac2HostAddr(packet), 1514, 0);
|
||||||
} else {
|
} else {
|
||||||
// Read packet from sheep_net device
|
// Read packet from sheep_net device
|
||||||
#if defined(__linux__)
|
#if defined(__linux__)
|
||||||
length = read(fd, Mac2HostAddr(packet), net_if_type == NET_IF_ETHERTAP ? 1516 : 1514);
|
length = read(fd, Mac2HostAddr(packet), net_if_type == NET_IF_ETHERTAP ? 1516 : 1514);
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user