[NETFILTER]: x_tables: switch hotdrop to bool
[sfrench/cifs-2.6.git] / net / ipv4 / netfilter / ipt_ah.c
index 18a16782cf405f1cc6f49fa07a4fa541135d43c0..9a244e406a486521d7b7a7d30f8eebea894e670d 100644 (file)
@@ -44,7 +44,7 @@ match(const struct sk_buff *skb,
       const void *matchinfo,
       int offset,
       unsigned int protoff,
-      int *hotdrop)
+      bool *hotdrop)
 {
        struct ip_auth_hdr _ahdr, *ah;
        const struct ipt_ah *ahinfo = matchinfo;
@@ -60,7 +60,7 @@ match(const struct sk_buff *skb,
                 * can't.  Hence, no choice but to drop.
                 */
                duprintf("Dropping evil AH tinygram.\n");
-               *hotdrop = 1;
+               *hotdrop = true;
                return 0;
        }