commit | cba81cc4c95fefa4805163bb19c0f43d2a8ca52c | [log] [tgz] |
---|---|---|
author | Gao Feng <fgao@ikuai8.com> | Mon Mar 27 23:12:08 2017 +0800 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Thu Apr 06 22:01:38 2017 +0200 |
tree | 315bc9c377c4b17ae9aedf06ae6e2b97b6d85431 | |
parent | ec0e3f01114ad327112432a4da8840eb22fed577 [diff] |
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>