Added ARCNET raw packet handling for Linux.

This commit is contained in:
skarg
2005-09-06 20:28:52 +00:00
parent 62d3c2e45a
commit 211e0fdb34
7 changed files with 368 additions and 7 deletions
+1 -1
View File
@@ -316,7 +316,7 @@ uint16_t ethernet_receive(
max = eth802_sockfd;
if (select(max + 1, &read_fds, NULL, NULL, &select_timeout) > 0)
received_bytes = read(eth802_sockfd, &buf[0], MAX_MPDU);
received_bytes = read(eth802_sockfd, &buf[0], sizeof(buf));
else
return 0;