--- libaitio/src/bpf.c 2013/06/25 10:58:22 1.1.2.11 +++ libaitio/src/bpf.c 2013/06/25 19:28:48 1.1.2.13 @@ -139,7 +139,7 @@ io_etherOpen(const char *csIface, int flags, int whdr, close(eth); return -1; } else - n = (buflen && *buflen) ? MIN(n, *buflen) : n; + n = (buflen && *buflen) ? *buflen : n; if (ioctl(eth, BIOCSBLEN, &n) == -1) { LOGERR; close(eth); @@ -160,7 +160,7 @@ io_etherOpen(const char *csIface, int flags, int whdr, close(eth); return -1; } else - n = (buflen && *buflen) ? MIN(n, *buflen) : n; + n = (buflen && *buflen) ? *buflen : n; if (!(*zcbuf = allocZCbuf(n))) { close(eth); return -1;