[NETFILTER]: x_tables: switch xt_match->match to bool
[linux-block.git] / net / netfilter / xt_connbytes.c
index 8fe5775901e14bac474846912dd351ef3e1fc535..aada7b797549ef570db8dd46a6293881ce4862e6 100644 (file)
@@ -15,7 +15,7 @@ MODULE_AUTHOR("Harald Welte <laforge@netfilter.org>");
 MODULE_DESCRIPTION("iptables match for matching number of pkts/bytes per connection");
 MODULE_ALIAS("ipt_connbytes");
 
-static int
+static bool
 match(const struct sk_buff *skb,
       const struct net_device *in,
       const struct net_device *out,
@@ -35,7 +35,7 @@ match(const struct sk_buff *skb,
 
        ct = nf_ct_get(skb, &ctinfo);
        if (!ct)
-               return 0;
+               return false;
        counters = ct->counters;
 
        switch (sinfo->what) {