Commit 971095c6 authored by Jiapeng Chong's avatar Jiapeng Chong Committed by Pablo Neira Ayuso

netfilter: rpfilter/fib: clean up some inconsistent indenting

No functional modification involved.

net/ipv4/netfilter/nft_fib_ipv4.c:141 nft_fib4_eval() warn: inconsistent indenting.

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2733Reported-by: default avatarAbaci Robot <abaci@linux.alibaba.com>
Signed-off-by: default avatarJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 8daa8fde
...@@ -138,12 +138,11 @@ void nft_fib4_eval(const struct nft_expr *expr, struct nft_regs *regs, ...@@ -138,12 +138,11 @@ void nft_fib4_eval(const struct nft_expr *expr, struct nft_regs *regs,
break; break;
} }
if (!oif) { if (!oif) {
found = FIB_RES_DEV(res); found = FIB_RES_DEV(res);
} else { } else {
if (!fib_info_nh_uses_dev(res.fi, oif)) if (!fib_info_nh_uses_dev(res.fi, oif))
return; return;
found = oif; found = oif;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment