diff options
| author | Ian Morris <ipm@chirality.org.uk> | 2015-10-11 12:32:19 -0400 |
|---|---|---|
| committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-10-14 06:29:51 -0400 |
| commit | 4305ae44a9690e35c01278fe18270d45188a61bb (patch) | |
| tree | 71ea766872c4e20e85cebafa5e14054ac5dd1da7 /net | |
| parent | 544d9b17f92d50132f47acd58f38992405298470 (diff) | |
netfilter: ip6_tables: improve if statements
Correct whitespace layout of if statements.
No changes detected by objdiff.
Signed-off-by: Ian Morris <ipm@chirality.org.uk>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net')
| -rw-r--r-- | net/ipv6/netfilter/ip6_tables.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv6/netfilter/ip6_tables.c b/net/ipv6/netfilter/ip6_tables.c index c57ddd3eabcb..99425cf2819b 100644 --- a/net/ipv6/netfilter/ip6_tables.c +++ b/net/ipv6/netfilter/ip6_tables.c | |||
| @@ -133,7 +133,7 @@ ip6_packet_match(const struct sk_buff *skb, | |||
| 133 | /* ... might want to do something with class and flowlabel here ... */ | 133 | /* ... might want to do something with class and flowlabel here ... */ |
| 134 | 134 | ||
| 135 | /* look for the desired protocol header */ | 135 | /* look for the desired protocol header */ |
| 136 | if((ip6info->flags & IP6T_F_PROTO)) { | 136 | if (ip6info->flags & IP6T_F_PROTO) { |
| 137 | int protohdr; | 137 | int protohdr; |
| 138 | unsigned short _frag_off; | 138 | unsigned short _frag_off; |
| 139 | 139 | ||
| @@ -151,9 +151,9 @@ ip6_packet_match(const struct sk_buff *skb, | |||
| 151 | ip6info->proto); | 151 | ip6info->proto); |
| 152 | 152 | ||
| 153 | if (ip6info->proto == protohdr) { | 153 | if (ip6info->proto == protohdr) { |
| 154 | if(ip6info->invflags & IP6T_INV_PROTO) { | 154 | if (ip6info->invflags & IP6T_INV_PROTO) |
| 155 | return false; | 155 | return false; |
| 156 | } | 156 | |
| 157 | return true; | 157 | return true; |
| 158 | } | 158 | } |
| 159 | 159 | ||
