]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/netfilter/xt_NFQUEUE.c
netfilter: xtables: change matches to return error code
[mirror_ubuntu-bionic-kernel.git] / net / netfilter / xt_NFQUEUE.c
index 7cc0de63aa0f141d302800748a017abc7f3547a0..d435579a64cad0f69ad0bb5833c15e367eb4b718 100644 (file)
@@ -81,7 +81,7 @@ nfqueue_tg_v1(struct sk_buff *skb, const struct xt_target_param *par)
        return NF_QUEUE_NR(queue);
 }
 
-static bool nfqueue_tg_v1_check(const struct xt_tgchk_param *par)
+static int nfqueue_tg_v1_check(const struct xt_tgchk_param *par)
 {
        const struct xt_NFQ_info_v1 *info = par->targinfo;
        u32 maxid;