]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - net/netfilter/xt_tcpmss.c
[NETFILTER]: x_tables: switch xt_match->match to bool
[karo-tx-linux.git] / net / netfilter / xt_tcpmss.c
index 0db4f5362180aae3057d6ad6184d0b3fd7793817..e9bfd3dd3c81f4ba52007db5f1ffc169f32db6d9 100644 (file)
@@ -23,7 +23,7 @@ MODULE_AUTHOR("Marc Boucher <marc@mbsi.ca>");
 MODULE_DESCRIPTION("iptables TCP MSS match module");
 MODULE_ALIAS("ipt_tcpmss");
 
-static int
+static bool
 match(const struct sk_buff *skb,
       const struct net_device *in,
       const struct net_device *out,
@@ -78,7 +78,7 @@ out:
 
 dropit:
        *hotdrop = true;
-       return 0;
+       return false;
 }
 
 static struct xt_match xt_tcpmss_match[] = {