netfilter: net/ipv[46]/netfilter: Move && and || to end of previous line
[deliverable/linux.git] / net / ipv6 / netfilter / ip6t_REJECT.c
index 5a7f00cd15ce7e194a0c3f1c1cda956c0eae2843..8311ca31816aed8355a7ead992ed42d11ca4a638 100644 (file)
@@ -223,8 +223,8 @@ static bool reject_tg6_check(const struct xt_tgchk_param *par)
                return false;
        } else if (rejinfo->with == IP6T_TCP_RESET) {
                /* Must specify that it's a TCP packet */
-               if (e->ipv6.proto != IPPROTO_TCP
-                   || (e->ipv6.invflags & XT_INV_PROTO)) {
+               if (e->ipv6.proto != IPPROTO_TCP ||
+                   (e->ipv6.invflags & XT_INV_PROTO)) {
                        printk("ip6t_REJECT: TCP_RESET illegal for non-tcp\n");
                        return false;
                }
This page took 0.0251670000000001 seconds and 5 git commands to generate.