diff options
author | Christian Poessinger <christian@poessinger.com> | 2018-10-10 22:09:02 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2018-10-10 22:09:02 +0200 |
commit | e6f60ea5a26343e517eb7783313f654ae70652f7 (patch) | |
tree | f4577f4a1e2017276d477750b6d12d87d6a2aa89 /templates-cfg/system | |
parent | a8873e0bbaff65a744741976018240f56106a1c3 (diff) | |
download | vyatta-conntrack-e6f60ea5a26343e517eb7783313f654ae70652f7.tar.gz vyatta-conntrack-e6f60ea5a26343e517eb7783313f654ae70652f7.zip |
T888: adjust conntrack TCP loose to new Kernel API
Diffstat (limited to 'templates-cfg/system')
-rw-r--r-- | templates-cfg/system/conntrack/tcp/loose/node.def | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates-cfg/system/conntrack/tcp/loose/node.def b/templates-cfg/system/conntrack/tcp/loose/node.def index 06706a2..2c94a31 100644 --- a/templates-cfg/system/conntrack/tcp/loose/node.def +++ b/templates-cfg/system/conntrack/tcp/loose/node.def @@ -24,7 +24,7 @@ default: "enable" syntax:expression: $VAR(@) in "enable", "disable"; "must be either enable or disable" update: - if [ ! -e /proc/sys/net/ipv4/netfilter/ip_conntrack_tcp_loose ]; then + if [ ! -e /proc/sys/net/netfilter/nf_conntrack_tcp_loose ]; then sudo modprobe nf_conntrack_ipv4 fi if [ "$VAR(@)" = "enable" ]; then @@ -37,7 +37,7 @@ update: fi delete: - if [ ! -e /proc/sys/net/ipv4/netfilter/ip_conntrack_tcp_loose ]; then + if [ ! -e /proc/sys/net/netfilter/nf_conntrack_tcp_loose ]; then sudo modprobe nf_conntrack_ipv4 fi sudo sysctl -q -w net/ipv4/netfilter/ip_conntrack_tcp_loose=1 |