Skip to contentSkip to conversation

tproxy: the length of lines should be within 80

PATCH Applied Changli Gao 2 participants 2 messages Jul 9, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tproxy: the length of lines should be within 80

tproxy: the length of lines should be within 80

According to the Documentation/CodingStyle, the length of lines should be within 80.

----

 net/netfilter/xt_TPROXY.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
net/netfilter/xt_TPROXY.c +4 -2
index e1a0ded..c61294d 100644
@@ -37,8 +37,10 @@ tproxy_tg(struct sk_buff *skb, const struct xt_action_param *par)
 		return NF_DROP;
 
 	sk = nf_tproxy_get_sock_v4(dev_net(skb->dev), iph->protocol,
-				   iph->saddr, tgi->laddr ? tgi->laddr : iph->daddr,
-				   hp->source, tgi->lport ? tgi->lport : hp->dest,
+				   iph->saddr,
+				   tgi->laddr ? tgi->laddr : iph->daddr,
+				   hp->source,
+				   tgi->lport ? tgi->lport : hp->dest,
 				   par->in, true);
 
 	/* NOTE: assign_sock consumes our sk reference */
#1 lore raw

Am 09.07.2010 07:31, schrieb Changli Gao:

Quoted 4 lines

tproxy: the length of lines should be within 80

According to the Documentation/CodingStyle, the length of lines should be within 80.

Applied, thanks.