]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
netfilter: xt_CT: fix wrong checking in the timeout assignment path
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 27 Apr 2012 00:00:50 +0000 (02:00 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 30 Apr 2012 08:40:36 +0000 (10:40 +0200)
commit6cf51852486af3d79f57bf46d00209a14244dbaa
tree4d7d7e19422e412bf4cb22100306fece93b8d498
parent8537de8a7ab6681cc72fb0411ab1ba7fdba62dd0
netfilter: xt_CT: fix wrong checking in the timeout assignment path

The current checking always succeeded. We have to check the first
character of the string to check that it's empty, thus, skipping
the timeout path.

This fixes the use of the CT target without the timeout option.

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