Deleted wrong braces that cause unwanted behaviour. Signed-off-by: Carlos Falgueras García <carlo...@riseup.net> --- src/expr/lookup.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/expr/lookup.c b/src/expr/lookup.c index 57612d1..60da653 100644 --- a/src/expr/lookup.c +++ b/src/expr/lookup.c @@ -122,12 +122,11 @@ nftnl_expr_lookup_build(struct nlmsghdr *nlh, const struct nftnl_expr *e) mnl_attr_put_u32(nlh, NFTA_LOOKUP_DREG, htonl(lookup->dreg)); if (e->flags & (1 << NFTNL_EXPR_LOOKUP_SET)) mnl_attr_put_strz(nlh, NFTA_LOOKUP_SET, lookup->set_name); - if (e->flags & (1 << NFTNL_EXPR_LOOKUP_SET_ID)) { + if (e->flags & (1 << NFTNL_EXPR_LOOKUP_SET_ID)) mnl_attr_put_u32(nlh, NFTA_LOOKUP_SET_ID, htonl(lookup->set_id)); if (e->flags & (1 << NFTNL_EXPR_LOOKUP_FLAGS)) mnl_attr_put_u32(nlh, NFTA_LOOKUP_FLAGS, htonl(lookup->flags)); - } } static int -- 2.8.3 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html