|
|
| version 1.1.2.11, 2013/06/26 16:22:12 | version 1.2.2.1, 2013/07/01 20:44:09 |
|---|---|
| Line 294 main(int argc, char **argv) | Line 294 main(int argc, char **argv) |
| strlcpy(szStr, *argv, sizeof szStr); | strlcpy(szStr, *argv, sizeof szStr); |
| #ifdef __FreeBSD__ | #ifdef __FreeBSD__ |
| dev = io_etherOpen(szStr, O_RDWR | O_NONBLOCK, 42, (u_int*) &siz, (flg) ? &bz : NULL); | dev = io_etherOpen(szStr, O_RDWR | O_NONBLOCK, 42, 0, (u_int*) &siz, (flg) ? &bz : NULL); |
| if (dev == -1) | if (dev == -1) |
| dev = io_etherOpen(szStr, O_RDWR | O_NONBLOCK, 42, (u_int*) &siz, NULL); | dev = io_etherOpen(szStr, O_RDWR | O_NONBLOCK, 42, 0, (u_int*) &siz, NULL); |
| #else | #else |
| dev = io_etherOpen(szStr, O_RDWR, 42, (u_int*) &siz, NULL); | dev = io_etherOpen(szStr, O_RDWR, 42, 0, (u_int*) &siz, NULL); |
| #endif | #endif |
| if (dev == -1) { | if (dev == -1) { |
| printf("Error:: #%d - %s\n", io_GetErrno(), io_GetError()); | printf("Error:: #%d - %s\n", io_GetErrno(), io_GetError()); |