On Wed, Oct 23, 2019 at 01:20:24PM +0200, Pablo Neira Ayuso wrote:
> On Fri, Oct 18, 2019 at 05:51:14PM +0200, Phil Sutter wrote:
> > Variable 'table' is an array of type struct table_struct, so this is a
> > classical use-case for ARRAY_SIZE() macro.
> > 
> > Signed-off-by: Phil Sutter <p...@nwl.cc>
> 
> Acked-by: Pablo Neira Ayuso <pa...@netfilter.org>

BTW, probably good to add the array check?

https://sourceforge.net/p/libhx/libhx/ci/master/tree/include/libHX/defs.h#l152

Reply via email to