]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
netfilter: ebtables: fix indent on if statements
authorColin Ian King <colin.king@canonical.com>
Tue, 15 Aug 2017 09:50:34 +0000 (10:50 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 24 Aug 2017 16:56:17 +0000 (18:56 +0200)
The returns on some if statements are not indented correctly,
add in the missing tab.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/bridge/netfilter/ebt_ip.c
net/bridge/netfilter/ebt_ip6.c

index d06968bdf5ec7f1d0d11d48892e7fc792592f245..2b46c50abce0395594f2891b9b4f71e7a4516591 100644 (file)
@@ -64,14 +64,14 @@ ebt_ip_mt(const struct sk_buff *skb, struct xt_action_param *par)
                        if (NF_INVF(info, EBT_IP_DPORT,
                                    dst < info->dport[0] ||
                                    dst > info->dport[1]))
-                       return false;
+                               return false;
                }
                if (info->bitmask & EBT_IP_SPORT) {
                        u32 src = ntohs(pptr->src);
                        if (NF_INVF(info, EBT_IP_SPORT,
                                    src < info->sport[0] ||
                                    src > info->sport[1]))
-                       return false;
+                               return false;
                }
        }
        return true;
index 4617491be41e76b27ada6d843511fe75b2611624..2a5a52a53ec430924616cfc1518b6314423a1da5 100644 (file)
@@ -89,7 +89,7 @@ ebt_ip6_mt(const struct sk_buff *skb, struct xt_action_param *par)
                        if (NF_INVF(info, EBT_IP6_SPORT,
                                    src < info->sport[0] ||
                                    src > info->sport[1]))
-                       return false;
+                               return false;
                }
                if ((info->bitmask & EBT_IP6_ICMP6) &&
                    NF_INVF(info, EBT_IP6_ICMP6,