On Tue, Oct 07, 2008 at 01:24:05PM +0100, Chris Webb wrote:
...
> Hi. I'm afraid this a bug I introduced with the refactoring of the bpf code
> into bpf.c so it could be used on both Linux and FreeBSD. The type of
> bpf_insn.k is incorrectly declared as long (32-bit on Linux, 64-bit on
> FreeBSD) rather than u_int32_t.
> 
> The attached patch against stock vblade-18 should fix this regression. I
> also correct the type of bpf_program.bf_len, having checked what size type
> setsockopt SOL_SOCKET, SO_ATTACH_FILTER and ioctl BIOCSETF are expecting.

Thanks for the patch.  It appears in vblade-19, just released.

-- 
  Ed Cashin <[EMAIL PROTECTED]>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Aoetools-discuss mailing list
Aoetools-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/aoetools-discuss

Reply via email to