netfilter: conntrack: limit sysctl setting for boolean options

We use the zero and one to limit the boolean options setting.
After this patch we only set 0 or 1 to boolean options for nf
conntrack sysctl.

Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
Tonghao Zhang 2019-04-07 08:14:20 -07:00 • committed by Pablo Neira Ayuso
commit 8f14c99c7e
2 changed files with 36 additions and 18 deletions