diff options
author | Changli Gao <xiaosuo@gmail.com> | 2010-07-09 17:31:49 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-07-09 17:31:49 +0200 |
commit | 116e1f1b09dffe0ff8ebab73501324dca7bbbe5e (patch) | |
tree | 11bf270e8577f5fd24760d0b9063899a3f1f19fc /net/netfilter | |
parent | 8a0acaac807ec3fcb7b5a895c6bbb8e8b61e6275 (diff) | |
download | linux-116e1f1b09dffe0ff8ebab73501324dca7bbbe5e.tar.bz2 |
netfilter: xt_TPROXY: the length of lines should be within 80
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>
Diffstat (limited to 'net/netfilter')
-rw-r--r-- | net/netfilter/xt_TPROXY.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/netfilter/xt_TPROXY.c b/net/netfilter/xt_TPROXY.c index e1a0dedac258..c61294d85fda 100644 --- a/net/netfilter/xt_TPROXY.c +++ b/net/netfilter/xt_TPROXY.c @@ -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 */ |