Re: [nft PATCH] parser_bison: Fix 'exists' keyword on Big Endian

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Phil Sutter <phil@xxxxxx> wrote:
> -					   BYTEORDER_HOST_ENDIAN, 1, buf);
> +					   BYTEORDER_HOST_ENDIAN,
> +					   sizeof(char) * BITS_PER_BYTE, buf);

You can omit the sizeof(char), its always 1.  Otherwise this loooks good to me.



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux