Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4305ae44 authored by Ian Morris's avatar Ian Morris Committed by Pablo Neira Ayuso
Browse files

netfilter: ip6_tables: improve if statements



Correct whitespace layout of if statements.

No changes detected by objdiff.

Signed-off-by: default avatarIan Morris <ipm@chirality.org.uk>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 544d9b17
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -133,7 +133,7 @@ ip6_packet_match(const struct sk_buff *skb,
/* ... might want to do something with class and flowlabel here ... */
/* ... might want to do something with class and flowlabel here ... */


	/* look for the desired protocol header */
	/* look for the desired protocol header */
	if((ip6info->flags & IP6T_F_PROTO)) {
	if (ip6info->flags & IP6T_F_PROTO) {
		int protohdr;
		int protohdr;
		unsigned short _frag_off;
		unsigned short _frag_off;


@@ -151,9 +151,9 @@ ip6_packet_match(const struct sk_buff *skb,
				ip6info->proto);
				ip6info->proto);


		if (ip6info->proto == protohdr) {
		if (ip6info->proto == protohdr) {
			if(ip6info->invflags & IP6T_INV_PROTO) {
			if (ip6info->invflags & IP6T_INV_PROTO)
				return false;
				return false;
			}

			return true;
			return true;
		}
		}