]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
netfilter: xt_TPROXY: the length of lines should be within 80
authorChangli Gao <xiaosuo@gmail.com>
Fri, 9 Jul 2010 15:31:49 +0000 (17:31 +0200)
committerPatrick McHardy <kaber@trash.net>
Fri, 9 Jul 2010 15:31:49 +0000 (17:31 +0200)
According to the Documentation/CodingStyle, the length of lines should
be within 80.

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/xt_TPROXY.c

index e1a0dedac2580b1aeb5fe1d52d6e5f60f082005b..c61294d85fdafbcb4696b704a6754f9f1c9476c1 100644 (file)
@@ -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 */