netfilter: nat: nf_nat_mangle_{udp,tcp}_packet returns boolean
authorGao Feng <fgao@ikuai8.com>
Mon, 27 Mar 2017 15:12:08 +0000 (23:12 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 6 Apr 2017 20:01:38 +0000 (22:01 +0200)
commitcba81cc4c95fefa4805163bb19c0f43d2a8ca52c
tree315bc9c377c4b17ae9aedf06ae6e2b97b6d85431
parentec0e3f01114ad327112432a4da8840eb22fed577
netfilter: nat: nf_nat_mangle_{udp,tcp}_packet returns boolean

nf_nat_mangle_{udp,tcp}_packet() returns int. However, it is used as
bool type in many spots. Fix this by consistently handle this return
value as a boolean.

Signed-off-by: Gao Feng <fgao@ikuai8.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_nat_helper.h
net/ipv4/netfilter/nf_nat_pptp.c
net/netfilter/ipvs/ip_vs_ftp.c
net/netfilter/nf_nat_amanda.c
net/netfilter/nf_nat_helper.c
net/netfilter/nf_nat_irc.c