提交 4305ae44 编写于 作者: I Ian Morris 提交者: Pablo Neira Ayuso

netfilter: ip6_tables: improve if statements

Correct whitespace layout of if statements.

No changes detected by objdiff.
Signed-off-by: NIan Morris <ipm@chirality.org.uk>
Signed-off-by: NPablo Neira Ayuso <pablo@netfilter.org>
上级 544d9b17
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册