summaryrefslogtreecommitdiffstats
path: root/examples/nft-set-add.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2018-02-14 20:11:18 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2018-02-14 20:12:03 +0100
commit848ddc6cbf338d16cc1a4510ee82073599204627 (patch)
tree5be9f57f2fbe8da5d3a17e0cafdaae195e8fd7a4 /examples/nft-set-add.c
parent728e6b2739456eeeea50c43d9913d49f7bf71bf7 (diff)
set_elem: nftnl_set_elems_parse() returns 0 if set is empty
Instead of -1, which results n misleading error propagate to the caller with errno == 0 (success). Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'examples/nft-set-add.c')
0 files changed, 0 insertions, 0 deletions