[NETFILTER]: x_tables: switch xt_match->match to bool
[linux-block.git] / net / netfilter / xt_string.c
index 7552d8927570f02a8a48275336666d61a665f518..3aea43d37339d100e38fb84dbba5e39fd0e04f5d 100644 (file)
@@ -21,14 +21,14 @@ MODULE_LICENSE("GPL");
 MODULE_ALIAS("ipt_string");
 MODULE_ALIAS("ip6t_string");
 
-static int match(const struct sk_buff *skb,
-                const struct net_device *in,
-                const struct net_device *out,
-                const struct xt_match *match,
-                const void *matchinfo,
-                int offset,
-                unsigned int protoff,
-                bool *hotdrop)
+static bool match(const struct sk_buff *skb,
+                 const struct net_device *in,
+                 const struct net_device *out,
+                 const struct xt_match *match,
+                 const void *matchinfo,
+                 int offset,
+                 unsigned int protoff,
+                 bool *hotdrop)
 {
        const struct xt_string_info *conf = matchinfo;
        struct ts_state state;