Re: [PATCH v2, libnftnl] Fix nftnl_*_get to set data_len

2016-07-11 Thread Pablo Neira Ayuso
On Mon, Jul 11, 2016 at 01:41:07PM +0200, Carlos Falgueras García wrote: > diff --git a/src/expr/lookup.c b/src/expr/lookup.c > index 7f68f74..a29b7e5 100644 > --- a/src/expr/lookup.c > +++ b/src/expr/lookup.c > @@ -73,10 +73,13 @@ nftnl_expr_lookup_get(const struct nftnl_expr *e, > uint16_t

[PATCH v2, libnftnl] Fix nftnl_*_get to set data_len

2016-07-11 Thread Carlos Falgueras García
All getters must set the output parameter 'data_len' Signed-off-by: Carlos Falgueras García --- src/chain.c | 3 +++ src/expr.c| 1 + src/expr/dynset.c | 3 +++ src/expr/lookup.c | 3 +++ src/gen.c | 1 + src/rule.c| 2 ++ src/set.c | 2