diff options
author | Jan Engelhardt <jengelh@gmx.de> | 2007-07-07 22:15:12 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-07-10 22:16:56 -0700 |
commit | cff533ac12494fa002e2c46acc94d670e5f636a2 (patch) | |
tree | ab159436fa3f5c282455afafcf136fd03fa8225a /net/ipv6/netfilter/ip6t_hbh.c | |
parent | 7bfe24611671ec76b44281e582b38535e21f01a9 (diff) | |
download | kernel_samsung_smdk4412-cff533ac12494fa002e2c46acc94d670e5f636a2.zip kernel_samsung_smdk4412-cff533ac12494fa002e2c46acc94d670e5f636a2.tar.gz kernel_samsung_smdk4412-cff533ac12494fa002e2c46acc94d670e5f636a2.tar.bz2 |
[NETFILTER]: x_tables: switch hotdrop to bool
Switch the "hotdrop" variables to boolean
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/netfilter/ip6t_hbh.c')
-rw-r--r-- | net/ipv6/netfilter/ip6t_hbh.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv6/netfilter/ip6t_hbh.c b/net/ipv6/netfilter/ip6t_hbh.c index d2373c7..5633de1 100644 --- a/net/ipv6/netfilter/ip6t_hbh.c +++ b/net/ipv6/netfilter/ip6t_hbh.c @@ -55,7 +55,7 @@ match(const struct sk_buff *skb, const void *matchinfo, int offset, unsigned int protoff, - int *hotdrop) + bool *hotdrop) { struct ipv6_opt_hdr _optsh, *oh; const struct ip6t_opts *optinfo = matchinfo; @@ -71,13 +71,13 @@ match(const struct sk_buff *skb, err = ipv6_find_hdr(skb, &ptr, match->data, NULL); if (err < 0) { if (err != -ENOENT) - *hotdrop = 1; + *hotdrop = true; return 0; } oh = skb_header_pointer(skb, ptr, sizeof(_optsh), &_optsh); if (oh == NULL) { - *hotdrop = 1; + *hotdrop = true; return 0; } |