netfilter: ebtables: fix indent on if statements
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>
This commit is contained in:
Родитель
b3480fe059
Коммит
c816c2558e
|
@ -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;
|
||||
|
|
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче