mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-22 13:31:08 +00:00
fixed a bug
This commit is contained in:
parent
2bc581d4f6
commit
242e8af3a7
@ -1004,9 +1004,10 @@ void ether_do_interrupt(void)
|
||||
#else
|
||||
length = read(fd, Mac2HostAddr(packet), 1514);
|
||||
#endif
|
||||
if (length < 14)
|
||||
break;
|
||||
}
|
||||
|
||||
if (length < 14)
|
||||
break;
|
||||
|
||||
#if MONITOR
|
||||
bug("Receiving Ethernet packet:\n");
|
||||
|
Loading…
Reference in New Issue
Block a user