netfilter: xt_CT: fix timeout setting with IPv6
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 11 Oct 2012 08:49:12 +0000 (10:49 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 15 Oct 2012 11:38:58 +0000 (13:38 +0200)
commit0153d5a810ab335aae86acfe69722a7efc1db536
treef65f803d8801a6a421d696d52b8d746de4b539aa
parentb61a602ee6730150f4d0df730d9312ac4d820ceb
netfilter: xt_CT: fix timeout setting with IPv6

This patch fixes ip6tables and the CT target if it is used to set
some custom conntrack timeout policy for IPv6.

Use xt_ct_find_proto which already handles the ip6tables case for us.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/xt_CT.c