mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
netfilter: ip6_tables: improve if statements
Correct whitespace layout of if statements. No changes detected by objdiff. Signed-off-by: Ian Morris <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
This commit is contained in:
parent
544d9b17f9
commit
4305ae44a9
1 changed files with 3 additions and 3 deletions
|
|
@ -133,7 +133,7 @@ ip6_packet_match(const struct sk_buff *skb,
|
|||
/* ... might want to do something with class and flowlabel here ... */
|
||||
|
||||
/* look for the desired protocol header */
|
||||
if((ip6info->flags & IP6T_F_PROTO)) {
|
||||
if (ip6info->flags & IP6T_F_PROTO) {
|
||||
int protohdr;
|
||||
unsigned short _frag_off;
|
||||
|
||||
|
|
@ -151,9 +151,9 @@ ip6_packet_match(const struct sk_buff *skb,
|
|||
ip6info->proto);
|
||||
|
||||
if (ip6info->proto == protohdr) {
|
||||
if(ip6info->invflags & IP6T_INV_PROTO) {
|
||||
if (ip6info->invflags & IP6T_INV_PROTO)
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue