forked from Minki/linux
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>
This commit is contained in:
parent
8a0acaac80
commit
116e1f1b09
|
@ -37,8 +37,10 @@ tproxy_tg(struct sk_buff *skb, const struct xt_action_param *par)
|
||||||
return NF_DROP;
|
return NF_DROP;
|
||||||
|
|
||||||
sk = nf_tproxy_get_sock_v4(dev_net(skb->dev), iph->protocol,
|
sk = nf_tproxy_get_sock_v4(dev_net(skb->dev), iph->protocol,
|
||||||
iph->saddr, tgi->laddr ? tgi->laddr : iph->daddr,
|
iph->saddr,
|
||||||
hp->source, tgi->lport ? tgi->lport : hp->dest,
|
tgi->laddr ? tgi->laddr : iph->daddr,
|
||||||
|
hp->source,
|
||||||
|
tgi->lport ? tgi->lport : hp->dest,
|
||||||
par->in, true);
|
par->in, true);
|
||||||
|
|
||||||
/* NOTE: assign_sock consumes our sk reference */
|
/* NOTE: assign_sock consumes our sk reference */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user