OSDN Git Service

netfilter: ipt_ah: return boolean instead of integer
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Tue, 13 Feb 2018 14:25:57 +0000 (08:25 -0600)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 5 Mar 2018 22:15:43 +0000 (23:15 +0100)
commit2db3fec507bd822ed81c031221b97701238949dc
treeb99e88be3a36e859af480d86893c092e15ccefa3
parent433029ecc62788296cacca50ceb24db90c17a4a2
netfilter: ipt_ah: return boolean instead of integer

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

This issue was 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/ipv4/netfilter/ipt_ah.c