netfilter: xtables: change xt_match.checkentry return type
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / net / netfilter / xt_string.c
index b4d7741113115330bc4ae6d5a6df35d6ae14f4cd..7d1412154e273c878ee64524bc8d0d05d2642662 100644 (file)
@@ -40,7 +40,7 @@ string_mt(const struct sk_buff *skb, const struct xt_match_param *par)
 
 #define STRING_TEXT_PRIV(m) ((struct xt_string_info *)(m))
 
-static bool string_mt_check(const struct xt_mtchk_param *par)
+static int string_mt_check(const struct xt_mtchk_param *par)
 {
        struct xt_string_info *conf = par->matchinfo;
        struct ts_config *ts_conf;