aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/netfilter/ipt_ah.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/netfilter/ipt_ah.c')
-rw-r--r--net/ipv4/netfilter/ipt_ah.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv4/netfilter/ipt_ah.c b/net/ipv4/netfilter/ipt_ah.c
index 3da39ee92d8..6b5b7c9f739 100644
--- a/net/ipv4/netfilter/ipt_ah.c
+++ b/net/ipv4/netfilter/ipt_ah.c
@@ -70,7 +70,7 @@ match(const struct sk_buff *skb,
70} 70}
71 71
72/* Called when user tries to insert an entry of this type. */ 72/* Called when user tries to insert an entry of this type. */
73static int 73static bool
74checkentry(const char *tablename, 74checkentry(const char *tablename,
75 const void *ip_void, 75 const void *ip_void,
76 const struct xt_match *match, 76 const struct xt_match *match,
@@ -82,9 +82,9 @@ checkentry(const char *tablename,
82 /* Must specify no unknown invflags */ 82 /* Must specify no unknown invflags */
83 if (ahinfo->invflags & ~IPT_AH_INV_MASK) { 83 if (ahinfo->invflags & ~IPT_AH_INV_MASK) {
84 duprintf("ipt_ah: unknown flags %X\n", ahinfo->invflags); 84 duprintf("ipt_ah: unknown flags %X\n", ahinfo->invflags);
85 return 0; 85 return false;
86 } 86 }
87 return 1; 87 return true;
88} 88}
89 89
90static struct xt_match ah_match = { 90static struct xt_match ah_match = {