]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/bridge/netfilter/ebt_dnat.c
netfilter: xtables: change xt_target.checkentry return type
[net-next-2.6.git] / net / bridge / netfilter / ebt_dnat.c
index 2bb40d728a35ae37b0ab875b33c9dfd3f490c14b..5fddebea45c299cd80a571780590888d287fbacc 100644 (file)
@@ -26,7 +26,7 @@ ebt_dnat_tg(struct sk_buff *skb, const struct xt_target_param *par)
        return info->target;
 }
 
-static bool ebt_dnat_tg_check(const struct xt_tgchk_param *par)
+static int ebt_dnat_tg_check(const struct xt_tgchk_param *par)
 {
        const struct ebt_nat_info *info = par->targinfo;
        unsigned int hook_mask;