summaryrefslogtreecommitdiff
path: root/templates-cfg/system/conntrack/tcp
diff options
context:
space:
mode:
Diffstat (limited to 'templates-cfg/system/conntrack/tcp')
-rw-r--r--templates-cfg/system/conntrack/tcp/loose/node.def4
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