diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-04-03 09:16:33 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-04-03 09:16:33 +0200 |
commit | d49cd1085f8f2725cf86fd1dc731c1d8a34db796 (patch) | |
tree | 773a81a3c86ae7f01cd4053d40f4cf84369d1cdf /data/templates/conntrack/sysctl.conf.tmpl | |
parent | cf8a8c0def7e56f1cc47c6c786c72671c32e060b (diff) | |
download | vyos-1x-d49cd1085f8f2725cf86fd1dc731c1d8a34db796.tar.gz vyos-1x-d49cd1085f8f2725cf86fd1dc731c1d8a34db796.zip |
conntrack: T4333: migrate to new vyos_defined Jinja2 test
Diffstat (limited to 'data/templates/conntrack/sysctl.conf.tmpl')
-rw-r--r-- | data/templates/conntrack/sysctl.conf.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/conntrack/sysctl.conf.tmpl b/data/templates/conntrack/sysctl.conf.tmpl index 9e97c3286..075402c04 100644 --- a/data/templates/conntrack/sysctl.conf.tmpl +++ b/data/templates/conntrack/sysctl.conf.tmpl @@ -6,7 +6,7 @@ net.netfilter.nf_conntrack_max = {{ table_size }} net.ipv4.tcp_max_syn_backlog = {{ tcp.half_open_connections }} -net.netfilter.nf_conntrack_tcp_loose = {{ '1' if tcp.loose == 'enable' else '0' }} +net.netfilter.nf_conntrack_tcp_loose = {{ '1' if tcp.loose is vyos_defined('enable') else '0' }} net.netfilter.nf_conntrack_tcp_max_retrans = {{ tcp.max_retrans }} net.netfilter.nf_conntrack_icmp_timeout = {{ timeout.icmp }} |