--- libaitio/src/bpf.c 2015/01/19 23:32:30 1.7 +++ libaitio/src/bpf.c 2016/08/10 13:59:44 1.7.2.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: bpf.c,v 1.7 2015/01/19 23:32:30 misho Exp $ +* $Id: bpf.c,v 1.7.2.1 2016/08/10 13:59:44 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -12,7 +12,7 @@ terms: All of the documentation and software included in the ELWIX and AITNET Releases is copyrighted by ELWIX - Sofia/Bulgaria -Copyright 2004 - 2014 +Copyright 2004 - 2016 by Michael Pounov . All rights reserved. Redistribution and use in source and binary forms, with or without @@ -352,6 +352,7 @@ io_etherRecv(int eth, void * __restrict buf, size_t bu return rlen; } +#ifndef __linux__ /* * io_etherFilter() - BPF filter routine * @@ -398,3 +399,4 @@ io_etherFilter(int eth, int io, struct bpf_insn * __re LOGERR; return ret; } +#endif