]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blobdiff - net/netfilter/xt_connbytes.c
netfilter: xtables: change xt_match.checkentry return type
[mirror_ubuntu-focal-kernel.git] / net / netfilter / xt_connbytes.c
index edb7bbd9ae54c76071206f6594b6daa3bf1c6b06..136ef4ccdacb77682e6bf2ad9b5a27028f063243 100644 (file)
@@ -93,7 +93,7 @@ connbytes_mt(const struct sk_buff *skb, const struct xt_match_param *par)
                return what >= sinfo->count.from;
 }
 
-static bool connbytes_mt_check(const struct xt_mtchk_param *par)
+static int connbytes_mt_check(const struct xt_mtchk_param *par)
 {
        const struct xt_connbytes_info *sinfo = par->matchinfo;