netfilter: nf_nat_snmp_basic: replace ctinfo with dir.
authorTaehee Yoo <ap420073@gmail.com>
Sun, 7 Jan 2018 15:10:07 +0000 (00:10 +0900)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 19 Jan 2018 12:59:06 +0000 (13:59 +0100)
commit8b8f0813b763efb55a8462dab096868a6bafd1ba
tree117f120e9898af459ac431d068f6d9f1ea8f8bc1
parente29e5ddca0dd7a01831f8aae6ea2664076fa8fd4
netfilter: nf_nat_snmp_basic: replace ctinfo with dir.

The snmp_translate() receives ctinfo data to get dir value only.
because of caller already has dir value, we just replace ctinfo with dir.

Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv4/netfilter/nf_nat_snmp_basic.c