netfilter: return booleans instead of integers
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Thu, 18 Jan 2018 23:25:12 +0000 (17:25 -0600)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 19 Jan 2018 13:02:18 +0000 (14:02 +0100)
commitd384e65f1e752f2b52a8ef300aeb86b1d7a342a9
tree63798288f48091f5bfa55c609fe2ba66265894bd
parent3ecbfd65f50e5ff9c538c1bfa3356ef52cc66586
netfilter: return booleans instead of integers

Return statements in functions returning bool should use
true/false instead of 1/0.

These issues were detected with the help of Coccinelle.

Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conncount.c
net/netfilter/xt_hashlimit.c
net/netfilter/xt_ipcomp.c