[PATCH 3/4] exp: fix a GCC 6 -Wmisleading-indentation warning

Peter Wu peter at lekensteyn.nl
Mon Aug 8 02:58:52 PDT 2016


Replaced the spaces by tabs to fix it.

Signed-off-by: Peter Wu <peter at lekensteyn.nl>
---
 lib/netfilter/exp.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/netfilter/exp.c b/lib/netfilter/exp.c
index 650127c..24ec55f 100644
--- a/lib/netfilter/exp.c
+++ b/lib/netfilter/exp.c
@@ -357,10 +357,10 @@ static int nfnl_exp_build_tuple(struct nl_msg *msg, const struct nfnl_exp *exp,
 
 	int type = exp_get_tuple_attr(cta);
 
-    if (cta == CTA_EXPECT_NAT)
-        tuple = nla_nest_start(msg, CTA_EXPECT_NAT_TUPLE);
-    else
-        tuple = nla_nest_start(msg, cta);
+	if (cta == CTA_EXPECT_NAT)
+		tuple = nla_nest_start(msg, CTA_EXPECT_NAT_TUPLE);
+	else
+		tuple = nla_nest_start(msg, cta);
 
 	if (!tuple)
 		goto nla_put_failure;
-- 
2.9.2




More information about the libnl mailing list